1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix indentation

This commit is contained in:
Michael DeHaan 2012-03-18 17:25:22 -04:00
parent 6777268f4c
commit 9e07b24239

View file

@ -38,9 +38,9 @@ from ansible import errors
CLEANUP_FILES = True CLEANUP_FILES = True
try: try:
import json import json
except ImportError: except ImportError:
import simplejson as json import simplejson as json
################################################ ################################################
@ -449,7 +449,7 @@ class Runner(object):
new_changed = data2.get('changed', False) new_changed = data2.get('changed', False)
data.update(data2) data.update(data2)
if old_changed or new_changed: if old_changed or new_changed:
data['changed'] = True data['changed'] = True
return (host, ok, data) return (host, ok, data)
else: else:
# copy failed, return orig result without going through 'file' module # copy failed, return orig result without going through 'file' module