Also fix default callback to use ignore_errors param
Rather than the value in the task, which may not be templated.
Related to #18289
(cherry picked from commit d70d279c4e
)
This commit is contained in:
parent
2d8ebbfe8c
commit
f89abc705b
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class CallbackModule(CallbackBase):
|
||||||
else:
|
else:
|
||||||
self._display.display("fatal: [%s]: FAILED! => %s" % (result._host.get_name(), self._dump_results(result._result)), color=C.COLOR_ERROR)
|
self._display.display("fatal: [%s]: FAILED! => %s" % (result._host.get_name(), self._dump_results(result._result)), color=C.COLOR_ERROR)
|
||||||
|
|
||||||
if result._task.ignore_errors:
|
if ignore_errors:
|
||||||
self._display.display("...ignoring", color=C.COLOR_SKIP)
|
self._display.display("...ignoring", color=C.COLOR_SKIP)
|
||||||
|
|
||||||
def v2_runner_on_ok(self, result):
|
def v2_runner_on_ok(self, result):
|
||||||
|
|
Loading…
Reference in a new issue