You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests/ansible/regression/issue_558_unarchive_failed.yml

23 lines
604 B
YAML

# _execute_module() would unconditionally delete shell.tmpdir without
# respecting the passed in 'tmp' parameter on Ansible 2.3.
- name: regression/issue_558_unarchive_failed.yml
hosts: test-targets
tasks:
- name: Cleanup /tmp/foo
file:
path: /tmp/foo
state: absent
- name: Create /tmp/foo
file:
path: /tmp/foo
state: directory
- name: Unarchive unarchive_test.tar
unarchive:
src: "{{git_basedir}}/tests/data/unarchive_test.tar"
dest: /tmp/foo
# garbage doesn't work with BSD tar
when: ansible_system != 'Darwin'
tags:
- issue_558