Commit d3b1c6dd by Kevin Falcone

There were two whens in these tasks

Ansible warned at the top, rather than complaining louder.
parent 4e0f060c
......@@ -45,18 +45,18 @@
- name: install trusty browser packages
shell: gdebi -nq /tmp/{{ item.name }}
when: download_deb.changed
with_items: "{{ trusty_browser_s3_deb_pkgs }}"
when: ansible_distribution_release == 'trusty'
when: download_deb.changed and
ansible_distribution_release == 'trusty'
tags:
- install
- install:system-requirements
- name: install xenial browser packages
shell: gdebi -nq /tmp/{{ item.name }}
when: download_deb.changed
with_items: "{{ browser_s3_deb_pkgs }}"
when: ansible_distribution_release == 'xenial'
when: download_deb.changed and
ansible_distribution_release == 'xenial'
tags:
- install
- install:system-requirements
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment