Fix change firefox from snap to apt version
This commit is contained in:
parent
bf6ca66f4b
commit
ae950799a6
@ -4,6 +4,14 @@
|
||||
community.general.snap:
|
||||
name: firefox
|
||||
state: absent
|
||||
when: ansible_facts.packages.firefox[0].version == "1.1snap1-0ubuntu2"
|
||||
|
||||
- name: remove apt snap wrapper version
|
||||
apt:
|
||||
state: absent
|
||||
pkg:
|
||||
- firefox
|
||||
when: ansible_facts.packages.firefox[0].version == "1.1snap1-0ubuntu2"
|
||||
|
||||
- name: add ppa
|
||||
apt_repository:
|
||||
|
6
roles/test/tasks/main.yml
Normal file
6
roles/test/tasks/main.yml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Gather package facts
|
||||
package_facts:
|
||||
manager: apt
|
||||
|
||||
- debug:
|
||||
msg: "{{ ansible_facts.packages.firefox[0].version }}"
|
Loading…
Reference in New Issue
Block a user