mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-18 14:51:09 +00:00
Filter become success string from the stdout of script results
Fixes #14390
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user