Don't fail hosts when using any_errors_fatal when ignoring errors
Fixes #15431
This commit is contained in:
parent
3901556b35
commit
1fc44e4103
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