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

This commit is contained in:
James Cammarata 2016-02-05 10:35:50 -05:00
parent d2846dbf30
commit b713f1ca53

View file

@ -166,7 +166,7 @@
# register: failed_copy
- 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
- name: assert that the directory was not changed