diff --git a/roles/firefox/tasks/ppa.yml b/roles/firefox/tasks/ppa.yml index 2913847..0dda24d 100644 --- a/roles/firefox/tasks/ppa.yml +++ b/roles/firefox/tasks/ppa.yml @@ -8,8 +8,8 @@ community.general.snap: name: firefox state: absent - when: - - "'firefox' in ansible_facts.packages" + when: + - 'firefox' in ansible_facts.packages - ansible_facts.packages['firefox'].version == "1:1snap1-0ubuntu2" - name: remove apt snap wrapper version @@ -17,8 +17,8 @@ state: absent pkg: - firefox - when: - - "'firefox' in ansible_facts.packages" + when: + - 'firefox' in ansible_facts.packages - ansible_facts.packages['firefox'].version == "1:1snap1-0ubuntu2" - name: add ppa