mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 16:53:11 +00:00
template: fix regression bug in template in case force=false
Fixes regression bug, previously reported in #12844 fixed with4b20884719re-introduced withc64ac90560
This commit is contained in:
@@ -150,7 +150,7 @@ class ActionModule(ActionBase):
|
||||
diff = {}
|
||||
new_module_args = self._task.args.copy()
|
||||
|
||||
if local_checksum != remote_checksum:
|
||||
if force and local_checksum != remote_checksum:
|
||||
|
||||
result['changed'] = True
|
||||
# if showing diffs, we need to get the remote value
|
||||
|
||||
Reference in New Issue
Block a user