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

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 7a1309c98a
commit 0f659d699e

View file

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