mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
clean debug output to match prev versions
This commit is contained in:
parent
a0842781a6
commit
be5488cb60
3 changed files with 8 additions and 0 deletions
|
@ -64,6 +64,7 @@ class CallbackModule(CallbackBase):
|
|||
self._display.display("%s | FAILED! => %s" % (result._host.get_name(), self._dump_results(result._result, indent=4)), color='red')
|
||||
|
||||
def v2_runner_on_ok(self, result):
|
||||
self._clean_results(result._result, result._task.action)
|
||||
if result._task.action in C.MODULE_NO_JSON:
|
||||
self._display.display(self._command_generic_msg(result._host.get_name(), result._result, "SUCCESS"), color='green')
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue