1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 # You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # 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 - name: prep our file
copy: src=foo.txt dest={{output_dir}}/foo-unarchive.txt copy: src=foo.txt dest={{output_dir}}/foo-unarchive.txt