|
|
|
@ -56,6 +56,8 @@ class CallbackModule(CallbackBase):
|
|
|
|
|
|
|
|
|
|
self._display.display(msg, color=C.COLOR_ERROR)
|
|
|
|
|
|
|
|
|
|
self._handle_warnings(result._result)
|
|
|
|
|
|
|
|
|
|
if result._task.loop and 'results' in result._result:
|
|
|
|
|
self._process_items(result)
|
|
|
|
|
|
|
|
|
@ -92,6 +94,8 @@ class CallbackModule(CallbackBase):
|
|
|
|
|
msg = "ok: [%s]" % result._host.get_name()
|
|
|
|
|
color = C.COLOR_OK
|
|
|
|
|
|
|
|
|
|
self._handle_warnings(result._result)
|
|
|
|
|
|
|
|
|
|
if result._task.loop and 'results' in result._result:
|
|
|
|
|
self._process_items(result)
|
|
|
|
|
else:
|
|
|
|
@ -100,8 +104,6 @@ class CallbackModule(CallbackBase):
|
|
|
|
|
msg += " => %s" % (self._dump_results(result._result),)
|
|
|
|
|
self._display.display(msg, color=color)
|
|
|
|
|
|
|
|
|
|
self._handle_warnings(result._result)
|
|
|
|
|
|
|
|
|
|
def v2_runner_on_skipped(self, result):
|
|
|
|
|
if C.DISPLAY_SKIPPED_HOSTS:
|
|
|
|
|
if self._play.strategy == 'free' and self._last_task_banner != result._task._uuid:
|
|
|
|
@ -227,8 +229,8 @@ class CallbackModule(CallbackBase):
|
|
|
|
|
else:
|
|
|
|
|
msg += "[%s]" % (result._host.get_name())
|
|
|
|
|
|
|
|
|
|
self._display.display(msg + " (item=%s) => %s" % (self._get_item(result._result), self._dump_results(result._result)), color=C.COLOR_ERROR)
|
|
|
|
|
self._handle_warnings(result._result)
|
|
|
|
|
self._display.display(msg + " (item=%s) => %s" % (self._get_item(result._result), self._dump_results(result._result)), color=C.COLOR_ERROR)
|
|
|
|
|
|
|
|
|
|
def v2_runner_item_on_skipped(self, result):
|
|
|
|
|
if C.DISPLAY_SKIPPED_HOSTS:
|
|
|
|
|