Fix for copy test as ansible_ssh_user is not set by default now
This commit is contained in:
parent
d2846dbf30
commit
b713f1ca53
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue