[stable-2.9] Install zip for unarchive test when using dnf.

(cherry picked from commit 86ae3cfa12)

Co-authored-by: Matt Clay <matt@mystile.com>
pull/63252/head
Matt Clay 5 years ago committed by Toshio Kuratomi
parent f004deaf91
commit d69852c890

@ -22,9 +22,9 @@
yum: name=zip,unzip state=latest yum: name=zip,unzip state=latest
when: ansible_pkg_mgr == 'yum' when: ansible_pkg_mgr == 'yum'
#- name: Ensure zip is present to create test archive (dnf) - name: Ensure zip is present to create test archive (dnf)
# dnf: name=zip state=latest dnf: name=zip state=latest
# when: ansible_pkg_mgr == 'dnf' when: ansible_pkg_mgr == 'dnf'
- name: Ensure zip & unzip is present to create test archive (apt) - name: Ensure zip & unzip is present to create test archive (apt)
apt: name=zip,unzip state=latest apt: name=zip,unzip state=latest

Loading…
Cancel
Save