template: fix regression bug in template in case force=false
Fixes regression bug, previously reported in #12844 fixed withpull/4420/head4b20884719
re-introduced withc64ac90560
parent
5c7d717f31
commit
768f2fe6d4
|
@ -150,7 +150,7 @@ class ActionModule(ActionBase):
|
||||||
diff = {}
|
diff = {}
|
||||||
new_module_args = self._task.args.copy()
|
new_module_args = self._task.args.copy()
|
||||||
|
|
||||||
if local_checksum != remote_checksum:
|
if force and local_checksum != remote_checksum:
|
||||||
|
|
||||||
result['changed'] = True
|
result['changed'] = True
|
||||||
# if showing diffs, we need to get the remote value
|
# if showing diffs, we need to get the remote value
|
||||||
|
|
Loading…
Reference in New Issue