Filter become success string from the stdout of script results

Fixes #14390
This commit is contained in:
James Cammarata 2016-02-09 12:34:15 -05:00
parent 0f15e59cb2
commit 162dd2594f

View file

@ -97,6 +97,7 @@ class ActionModule(ActionBase):
if tmp and "tmp" in tmp and not C.DEFAULT_KEEP_REMOTE_FILES:
self._remove_tmp_path(tmp)
result['stdout'] = self._strip_success_message(result.get('stdout', ''))
result['changed'] = True
return result