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:
parent
6777268f4c
commit
9e07b24239
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue