Merge pull request #15220 from toddnni/fix-module-mret-false

Fix: Make module.run state to display False mret also
This commit is contained in:
Thomas S Hatch 2014-08-25 12:56:20 -06:00
commit 2c8d4d621f

View File

@ -208,7 +208,7 @@ def run(name, **kwargs):
ret['result'] = False
return ret
else:
if mret:
if mret is not None:
ret['changes']['ret'] = mret
if 'returner' in kwargs: