roles/firefox/tasks/main.yml

Wed, 13 Apr 2016 12:52:13 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Apr 2016 12:52:13 -0400
changeset 38
06adc2a14d3e
parent 35
5da50e754d33
child 49
6dbfcfdf807c
permissions
-rw-r--r--

Move stuff back into single playbooks

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'
27
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 tags: repos
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 - package:
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 name: firefox
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 state: latest
98981c22420a Add vim and firefox roles
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 tags: packages, install
35
5da50e754d33 fix up for testing
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
13 when: >
5da50e754d33 fix up for testing
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
14 not ( ansible_os_family == 'Debian'
5da50e754d33 fix up for testing
Meredith Howard <mhoward@roomag.org>
parents: 27
diff changeset
15 and ansible_distribution_release == 'NA')

mercurial