diff --git a/roles/firefox/tasks/ppa.yml b/roles/firefox/tasks/ppa.yml index a4ca909..dcfe71d 100644 --- a/roles/firefox/tasks/ppa.yml +++ b/roles/firefox/tasks/ppa.yml @@ -16,6 +16,14 @@ - "'firefox' in ansible_facts.packages" - ansible_facts.packages['firefox'][0].version == "1:1snap1-0ubuntu2" + - name: remove snap + community.general.snap: + name: firefox + state: disabled + when: + - "'firefox' in ansible_facts.packages" + - ansible_facts.packages['firefox'][0].version == "1:1snap1-0ubuntu2" + - name: remove apt snap wrapper version apt: state: absent