def v2_runner_on_ok(self, result):
     host = result._host
     self.results[-1]['tasks'][-1]['hosts'][host.name] = result._result
     self.results[-1]['tasks'][-1]['hosts'][
         host.name]['epoch'] = time.time()
     self.module_filter(result)
     return CallbackModule_default.v2_runner_on_ok(self, result)
Esempio n. 2
0
 def v2_runner_on_ok(self, result):
     if 'no_print_action' not in result._task.tags or 'print_action' in result._task.tags or (
             self._display.verbosity > 1
             or '_ansible_verbose_always' in result._result):
         CallbackModule_default.v2_runner_on_ok(self, result)