1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

now actually continues play on ignore errors

This commit is contained in:
Brian Coca 2015-07-11 14:53:23 -04:00
parent fe91f7b506
commit 064a34689a

View file

@ -170,7 +170,7 @@ class StrategyBase:
self._tqm._stats.increment('failures', host.name) self._tqm._stats.increment('failures', host.name)
else: else:
self._tqm._stats.increment('ok', host.name) self._tqm._stats.increment('ok', host.name)
self._tqm.send_callback('v2_runner_on_failed', task_result) self._tqm.send_callback('v2_runner_on_failed', task_result, ignore_errors=task.ignore_errors)
elif result[0] == 'host_unreachable': elif result[0] == 'host_unreachable':
self._tqm._unreachable_hosts[host.name] = True self._tqm._unreachable_hosts[host.name] = True
self._tqm._stats.increment('dark', host.name) self._tqm._stats.increment('dark', host.name)