Commit 91b7a3ea by Michael Roytman

fixup download/install logic

parent 9293145d
......@@ -44,7 +44,7 @@
get_url:
dest: /tmp/{{ item.name }}
url: "{{ item.url }}"
register: download_deb
register: download_trusty_deb
with_items: "{{ trusty_browser_s3_deb_pkgs }}"
when: ansible_distribution_release == 'trusty'
tags:
......@@ -55,7 +55,7 @@
get_url:
dest: /tmp/{{ item.name }}
url: "{{ item.url }}"
register: download_deb
register: download_xenial_deb
with_items: "{{ browser_s3_deb_pkgs }}"
when: ansible_distribution_release == 'xenial'
tags:
......@@ -65,7 +65,7 @@
- name: install trusty browser packages
shell: gdebi -nq /tmp/{{ item.name }}
with_items: "{{ trusty_browser_s3_deb_pkgs }}"
when: download_deb.changed and
when: download_trusty_deb.changed and
ansible_distribution_release == 'trusty'
tags:
- install
......@@ -74,7 +74,7 @@
- name: install xenial browser packages
shell: gdebi -nq /tmp/{{ item.name }}
with_items: "{{ browser_s3_deb_pkgs }}"
when: download_deb.changed and
when: download_xenial_deb.changed and
ansible_distribution_release == 'xenial'
tags:
- install
......
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