1
0
Fork 0
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:
James Cammarata 2015-07-26 13:49:27 -04:00
parent 0b6fadaad7
commit db4b3544d7

View file

@ -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