clean debug output to match prev versions

This commit is contained in:
Brian Coca 2015-12-15 09:27:53 -05:00
parent a0842781a6
commit be5488cb60
3 changed files with 8 additions and 0 deletions

View file

@ -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: