Filter become success string from the stdout of script results

Fixes #14390
pull/14390/merge
James Cammarata 9 years ago
parent 0f15e59cb2
commit 162dd2594f

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

Loading…
Cancel
Save