Commit 5ed28efe by Michael DeHaan

Script module should return changed attribute so handlers always fire, unless…

Script module should return changed attribute so handlers always fire, unless "changed_when" is specified.

Fixes #4053
parent a7adc8ef
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment