mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
copy now passes a list of diffs
This commit is contained in:
parent
c3372936aa
commit
79ea6d3a1e
1 changed files with 2 additions and 2 deletions
|
@ -268,8 +268,8 @@ class ActionModule(ActionBase):
|
|||
else:
|
||||
result = dict(dest=dest, src=source, changed=changed)
|
||||
|
||||
if len(diffs) == 1:
|
||||
result['diff'] = diffs[0]
|
||||
if diffs:
|
||||
result['diff'] = diffs
|
||||
|
||||
return result
|
||||
|
||||
|
|
Loading…
Reference in a new issue