From 53bb9c58278b0d0760a98a4b7f824080e74c22ef Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 27 Jun 2022 23:38:48 +0200 Subject: [PATCH] Fix firefox --- roles/firefox/tasks/ppa.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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