|
|
@ -68,7 +68,6 @@ class CallbackModule(CallbackBase):
|
|
|
|
def v2_runner_on_ok(self, result):
|
|
|
|
def v2_runner_on_ok(self, result):
|
|
|
|
|
|
|
|
|
|
|
|
delegated_vars = result._result.get('_ansible_delegated_vars', None)
|
|
|
|
delegated_vars = result._result.get('_ansible_delegated_vars', None)
|
|
|
|
self._clean_results(result._result, result._task.action)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if self._play.strategy == 'free' and self._last_task_banner != result._task._uuid:
|
|
|
|
if self._play.strategy == 'free' and self._last_task_banner != result._task._uuid:
|
|
|
|
self._print_task_banner(result._task)
|
|
|
|
self._print_task_banner(result._task)
|
|
|
@ -93,10 +92,9 @@ class CallbackModule(CallbackBase):
|
|
|
|
if result._task.loop and 'results' in result._result:
|
|
|
|
if result._task.loop and 'results' in result._result:
|
|
|
|
self._process_items(result)
|
|
|
|
self._process_items(result)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
|
|
|
|
self._clean_results(result._result, result._task.action)
|
|
|
|
|
|
|
|
|
|
|
|
if (self._display.verbosity > 0 or '_ansible_verbose_always' in result._result) and '_ansible_verbose_override' not in result._result:
|
|
|
|
if (self._display.verbosity > 0 or '_ansible_verbose_always' in result._result) and '_ansible_verbose_override' not in result._result:
|
|
|
|
if result._task.action == 'debug' and 'changed' in result._result:
|
|
|
|
|
|
|
|
del result._result['changed']
|
|
|
|
|
|
|
|
msg += " => %s" % (self._dump_results(result._result),)
|
|
|
|
msg += " => %s" % (self._dump_results(result._result),)
|
|
|
|
self._display.display(msg, color=color)
|
|
|
|
self._display.display(msg, color=color)
|
|
|
|
|
|
|
|
|
|
|
|