Re-remove checking for failed state on hosts when building list of hosts

This was re-added by 63471cd (and modified by me to use iterator again),
it simply needs to be removed.

Fixes #15395
pull/15913/head
James Cammarata 9 years ago
parent 7a1309c98a
commit 0f659d699e

@ -163,7 +163,7 @@ class StrategyModule(StrategyBase):
try:
display.debug("getting the remaining hosts for this loop")
hosts_left = [host for host in self._inventory.get_hosts(iterator._play.hosts) if host.name not in self._tqm._unreachable_hosts and not iterator.is_failed(host)]
hosts_left = [host for host in self._inventory.get_hosts(iterator._play.hosts) if host.name not in self._tqm._unreachable_hosts]
display.debug("done getting the remaining hosts for this loop")
# queue up this task for each host in the inventory

Loading…
Cancel
Save