From 5365953348c72e82f2c2c9397ef156671425751e Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 3 Sep 2022 22:40:35 +0200 Subject: [PATCH] Disable firefox snap --- roles/firefox/tasks/ppa.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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