def v2_runner_on_failed(self, result, ignore_errors=False): self.results_summary['success'] = False self.gather_result("failed", result) if result._task.action in constants.MODULE_NO_JSON: CMDCallBackModule.v2_runner_on_failed(self, result, ignore_errors=ignore_errors) else: super().v2_runner_on_failed(result, ignore_errors=ignore_errors)
def v2_runner_on_failed(self, result, ignore_errors=False): self.results_summary['success'] = False self.gather_result("failed", result) if result._task.action in C.MODULE_NO_JSON: CMDCallBackModule.v2_runner_on_failed(self, result, ignore_errors=ignore_errors ) else: super().v2_runner_on_failed( result, ignore_errors=ignore_errors )
def v2_runner_on_ok(self, result): self.gather_result("ok", result) if result._task.action in constants.MODULE_NO_JSON: CMDCallBackModule.v2_runner_on_ok(self, result) else: super().v2_runner_on_ok(result)
def v2_runner_on_ok(self, result): self.gather_result("ok", result) if result._task.action in C.MODULE_NO_JSON: CMDCallBackModule.v2_runner_on_ok(self, result) else: super().v2_runner_on_ok(result)