Install zip for the unarchive test

This commit is contained in:
Toshio Kuratomi 2015-01-22 10:37:19 -08:00
parent f2b1a289ed
commit 7e538d54dd

View file

@ -15,6 +15,15 @@
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# 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