roles/firefox/tasks/main.yml

Wed, 14 Jun 2017 21:25:06 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 14 Jun 2017 21:25:06 -0400
changeset 51
5af98666f4d4
parent 49
6dbfcfdf807c
permissions
-rw-r--r--

Make sure we don't try to install vim-nox and vim-gtk every pass

---
- apt_repository:
    repo: "deb http://mozilla.debian.net/ {{ansible_distribution_release}}-backports firefox-release"
  when: >
    ansible_os_family == 'Debian'
    and ansible_distribution_release != 'NA'
    and ansible_distribution_release != 'stretch'
  tags: repos

- package:
    name: firefox-esr
    state: latest
  tags: packages, install
  when: >
    not ( ansible_os_family == 'Debian'
      and ansible_distribution_release == 'NA')

mercurial