mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #13058 from resmo/fix/template-force-false
[v2] template: fix regression bug in template in case force=false
This commit is contained in:
commit
cf248941e4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue