tests: tidy up issue_140.yml

pull/372/head
David Wilson 7 years ago
parent 72fa129f8a
commit 0a2ae4d597

@ -16,7 +16,7 @@
creates: /tmp/filetree.in creates: /tmp/filetree.in
- name: Delete remote file tree - name: Delete remote file tree
shell: rm -rf /tmp/filetree.out file: path=/tmp/filetree.out state=absent
- file: - file:
state: directory state: directory
@ -26,6 +26,5 @@
copy: copy:
src: "{{item.src}}" src: "{{item.src}}"
dest: "/tmp/filetree.out/{{item.path}}" dest: "/tmp/filetree.out/{{item.path}}"
with_filetree: with_filetree: /tmp/filetree.in
- /tmp/filetree.in
when: item.state == 'file' when: item.state == 'file'

Loading…
Cancel
Save