Don't fail hosts when using any_errors_fatal when ignoring errors

Fixes #15431
This commit is contained in:
James Cammarata 2016-05-01 12:38:55 -04:00
parent 40c0f34c41
commit c7cae3b08c

View file

@ -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: