# HG changeset patch # User Meredith Howard # Date 1460565332 14400 # Node ID 5da50e754d33f2dd0138824942996b6937c00e84 # Parent 1a793d630c76708bb631aa75fabdefa4dbab1bee fix up for testing diff --git a/roles/firefox/tasks/main.yml b/roles/firefox/tasks/main.yml --- a/roles/firefox/tasks/main.yml +++ b/roles/firefox/tasks/main.yml @@ -1,10 +1,15 @@ --- - apt_repository: repo: "deb http://mozilla.debian.net/ {{ansible_distribution_release}}-backports firefox-release" - when: ansible_os_family == 'Debian' + when: > + ansible_os_family == 'Debian' + and ansible_distribution_release != 'NA' tags: repos - package: name: firefox state: latest tags: packages, install + when: > + not ( ansible_os_family == 'Debian' + and ansible_distribution_release == 'NA')