roles/firefox/tasks/main.yml

Wed, 14 Jun 2017 22:07:16 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 14 Jun 2017 22:07:16 -0400
changeset 54
2a04e6d7bfcc
parent 49
6dbfcfdf807c
permissions
-rw-r--r--

rig to pull public dotfiles

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