|
|
|
@ -600,7 +600,7 @@ class StrategyBase:
|
|
|
|
# save the current state before failing it for later inspection
|
|
|
|
# save the current state before failing it for later inspection
|
|
|
|
state_when_failed = iterator.get_state_for_host(original_host.name)
|
|
|
|
state_when_failed = iterator.get_state_for_host(original_host.name)
|
|
|
|
display.debug("marking %s as failed" % original_host.name)
|
|
|
|
display.debug("marking %s as failed" % original_host.name)
|
|
|
|
if original_task.run_once:
|
|
|
|
if original_task.run_once and not original_task.any_errors_fatal:
|
|
|
|
# if we're using run_once, we have to fail every host here
|
|
|
|
# if we're using run_once, we have to fail every host here
|
|
|
|
for h in self._inventory.get_hosts(iterator._play.hosts):
|
|
|
|
for h in self._inventory.get_hosts(iterator._play.hosts):
|
|
|
|
if h.name not in self._tqm._unreachable_hosts:
|
|
|
|
if h.name not in self._tqm._unreachable_hosts:
|
|
|
|
|