Don't fail hosts when using any_errors_fatal when ignoring errors
Fixes #15431
This commit is contained in:
parent
40c0f34c41
commit
c7cae3b08c
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class StrategyModule(StrategyBase):
|
|||
|
||||
run_once = templar.template(task.run_once) or action and getattr(action, 'BYPASS_HOST_LOOP', False)
|
||||
|
||||
if task.any_errors_fatal or run_once:
|
||||
if (task.any_errors_fatal or run_once) and not task.ignore_errors:
|
||||
any_errors_fatal = True
|
||||
|
||||
if not callback_sent:
|
||||
|
|
Loading…
Reference in a new issue