From 0a2ae4d5978e7343b1fb87e902209b34a8b9b63c Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 22 Aug 2018 13:22:46 +0100 Subject: [PATCH] tests: tidy up issue_140.yml --- tests/ansible/regression/issue_140__thread_pileup.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/ansible/regression/issue_140__thread_pileup.yml b/tests/ansible/regression/issue_140__thread_pileup.yml index 99f31896..c0158018 100644 --- a/tests/ansible/regression/issue_140__thread_pileup.yml +++ b/tests/ansible/regression/issue_140__thread_pileup.yml @@ -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'