fix up for testing

Wed, 13 Apr 2016 12:35:32 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Apr 2016 12:35:32 -0400
changeset 35
5da50e754d33
parent 34
1a793d630c76
child 36
745c6a77bf68

fix up for testing

roles/firefox/tasks/main.yml file | annotate | diff | comparison | revisions
--- 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')

mercurial