Assert things against the recursive copy result to make sure it did something

pull/14633/head
James Cammarata 10 years ago
parent 34541b4e5e
commit 9de24a3735

@ -117,6 +117,10 @@
register: recursive_copy_result
- debug: var=recursive_copy_result
- name: assert that the recursive copy did something
assert:
that:
- "recursive_copy_result|changed"
- name: check that a file in a directory was transferred
stat: path={{output_dir}}/sub/subdir/bar.txt

Loading…
Cancel
Save