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
This commit is contained in:
James Cammarata 2016-05-16 20:29:42 -04:00
parent b0259a8631
commit 7855612805

View file

@ -163,7 +163,7 @@ class StrategyModule(StrategyBase):
try: try:
display.debug("getting the remaining hosts for this loop") 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") display.debug("done getting the remaining hosts for this loop")
# queue up this task for each host in the inventory # queue up this task for each host in the inventory