tests: tidy up issue_140.yml

This commit is contained in:
David Wilson 2018-08-22 13:22:46 +01:00
parent 72fa129f8a
commit 0a2ae4d597
1 changed files with 2 additions and 3 deletions

View File

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