1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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: 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