roles/firefox/tasks/main.yml

changeset 35
5da50e754d33
parent 27
98981c22420a
child 49
6dbfcfdf807c
equal deleted inserted replaced
34:1a793d630c76 35:5da50e754d33
1 --- 1 ---
2 - apt_repository: 2 - apt_repository:
3 repo: "deb http://mozilla.debian.net/ {{ansible_distribution_release}}-backports firefox-release" 3 repo: "deb http://mozilla.debian.net/ {{ansible_distribution_release}}-backports firefox-release"
4 when: ansible_os_family == 'Debian' 4 when: >
5 ansible_os_family == 'Debian'
6 and ansible_distribution_release != 'NA'
5 tags: repos 7 tags: repos
6 8
7 - package: 9 - package:
8 name: firefox 10 name: firefox
9 state: latest 11 state: latest
10 tags: packages, install 12 tags: packages, install
13 when: >
14 not ( ansible_os_family == 'Debian'
15 and ansible_distribution_release == 'NA')

mercurial