mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Standardize removal of BECOME-SUCCESS method and use it for async too
Fixes #13965 Fixes #13971
This commit is contained in:
parent
61009604e3
commit
54cde0d082
3 changed files with 14 additions and 4 deletions
|
@ -75,4 +75,8 @@ class ActionModule(ActionBase):
|
|||
|
||||
result['changed'] = True
|
||||
|
||||
# be sure to strip out the BECOME-SUCCESS message, which may
|
||||
# be there depending on the output of the module
|
||||
result['stdout'] = self._strip_success_message(result.get('stdout', ''))
|
||||
|
||||
return result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue