mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Script module should return changed attribute so handlers always fire, unless "changed_when" is specified.
Fixes #4053
This commit is contained in:
parent
a7adc8ef4d
commit
5ed28efe45
1 changed files with 2 additions and 0 deletions
|
@ -75,4 +75,6 @@ class ActionModule(object):
|
|||
if tmp.find("tmp") != -1 and not C.DEFAULT_KEEP_REMOTE_FILES:
|
||||
self.runner._low_level_exec_command(conn, 'rm -rf %s >/dev/null 2>&1' % tmp, tmp)
|
||||
|
||||
result.result['changed'] = True
|
||||
|
||||
return result
|
||||
|
|
Loading…
Reference in a new issue