diff --git a/test/integration/roles/test_unarchive/tasks/main.yml b/test/integration/roles/test_unarchive/tasks/main.yml index 39f614fd75..06ca81151b 100644 --- a/test/integration/roles/test_unarchive/tasks/main.yml +++ b/test/integration/roles/test_unarchive/tasks/main.yml @@ -15,6 +15,15 @@ # # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# Make sure we start fresh + +- name: Ensure zip is present to create test archive (yum) + yum: name=zip state=latest + when: ansible_pkg_mgr == 'yum' + +- name: Ensure zip is present to create test archive (apt) + yum: name=zip state=latest + when: ansible_pkg_mgr == 'apt' - name: prep our file copy: src=foo.txt dest={{output_dir}}/foo-unarchive.txt