Fix firefox

This commit is contained in:
Przemek Grondek 2022-06-27 23:38:48 +02:00
parent 98cb78d7af
commit 53bb9c5827

View File

@ -8,8 +8,8 @@
community.general.snap: community.general.snap:
name: firefox name: firefox
state: absent state: absent
when: when:
- "'firefox' in ansible_facts.packages" - 'firefox' in ansible_facts.packages
- ansible_facts.packages['firefox'].version == "1:1snap1-0ubuntu2" - ansible_facts.packages['firefox'].version == "1:1snap1-0ubuntu2"
- name: remove apt snap wrapper version - name: remove apt snap wrapper version
@ -17,8 +17,8 @@
state: absent state: absent
pkg: pkg:
- firefox - firefox
when: when:
- "'firefox' in ansible_facts.packages" - 'firefox' in ansible_facts.packages
- ansible_facts.packages['firefox'].version == "1:1snap1-0ubuntu2" - ansible_facts.packages['firefox'].version == "1:1snap1-0ubuntu2"
- name: add ppa - name: add ppa