Fix for template module not creating a file that was not present when force=false

pull/13567/head
Toshio Kuratomi 9 years ago
parent cf95619229
commit 6df187da84

@ -150,7 +150,7 @@ class ActionModule(ActionBase):
diff = {}
new_module_args = self._task.args.copy()
if force and local_checksum != remote_checksum:
if (remote_checksum == '1') or (force and local_checksum != remote_checksum):
result['changed'] = True
# if showing diffs, we need to get the remote value

Loading…
Cancel
Save