--- 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')