mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|
||||
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue