roles/firefox/tasks/main.yml

Thu, 15 Jun 2017 03:36:22 +0000

author
Meredith <mhoward@roomag.org>
date
Thu, 15 Jun 2017 03:36:22 +0000
changeset 60
db8f5f12cb74
parent 49
6dbfcfdf807c
permissions
-rw-r--r--

edit

27
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 ---
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 - apt_repository:
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 repo: "deb http://mozilla.debian.net/ {{ansible_distribution_release}}-backports firefox-release"
35
5da50e754d33 fix up for testing
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
4 when: >
5da50e754d33 fix up for testing
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
5 ansible_os_family == 'Debian'
5da50e754d33 fix up for testing
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
6 and ansible_distribution_release != 'NA'
49
6dbfcfdf807c Fix firefox install (ESR, no weird repo)
Meredith Howard <mhoward@roomag.org>
parents: 35
diff changeset
7 and ansible_distribution_release != 'stretch'
27
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 tags: repos
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 - package:
49
6dbfcfdf807c Fix firefox install (ESR, no weird repo)
Meredith Howard <mhoward@roomag.org>
parents: 35
diff changeset
11 name: firefox-esr
27
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 state: latest
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 tags: packages, install
35
5da50e754d33 fix up for testing
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
14 when: >
5da50e754d33 fix up for testing
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
15 not ( ansible_os_family == 'Debian'
5da50e754d33 fix up for testing
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
16 and ansible_distribution_release == 'NA')

mercurial