Disable firefox snap

This commit is contained in:
Przemek Grondek 2022-09-03 22:40:35 +02:00
parent 62dde7026c
commit 5365953348

View File

@ -16,6 +16,14 @@
- "'firefox' in ansible_facts.packages" - "'firefox' in ansible_facts.packages"
- ansible_facts.packages['firefox'][0].version == "1:1snap1-0ubuntu2" - 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 - name: remove apt snap wrapper version
apt: apt:
state: absent state: absent