Fix for copy test as ansible_ssh_user is not set by default now

pull/14899/head
James Cammarata 9 years ago
parent 83a08b2a64
commit 94afe2f0de

@ -166,7 +166,7 @@
# register: failed_copy # register: failed_copy
- name: copy already copied directory again - name: copy already copied directory again
copy: src=subdir dest={{output_subdir | expanduser}} owner={{ansible_ssh_user}} copy: src=subdir dest={{output_subdir | expanduser}} owner={{ansible_ssh_user|default(omit)}}
register: copy_result5 register: copy_result5
- name: assert that the directory was not changed - name: assert that the directory was not changed

Loading…
Cancel
Save