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:
parent
0f15e59cb2
commit
162dd2594f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue