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