strip BECOME-SUCCESS at lower level

Fixes #14395
This commit is contained in:
Matthew Stoltenberg 2016-02-09 09:18:09 -07:00 committed by James Cammarata
parent 162dd2594f
commit d36394d6a6
4 changed files with 3 additions and 11 deletions

View file

@ -75,8 +75,4 @@ 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