mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix syntax error in action plugin template.py
This commit is contained in:
parent
0b6fadaad7
commit
db4b3544d7
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class ActionModule(ActionBase):
|
||||||
else:
|
else:
|
||||||
result=dict(changed=True)
|
result=dict(changed=True)
|
||||||
|
|
||||||
if result.['changed'] and self._play_context.diff:
|
if result['changed'] and self._play_context.diff:
|
||||||
result['diff'] = dict(before=dest_contents, after=resultant, before_header=dest, after_header=source)
|
result['diff'] = dict(before=dest_contents, after=resultant, before_header=dest, after_header=source)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Reference in a new issue