mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Don't fail hosts when using any_errors_fatal when ignoring errors
Fixes #15431
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user