added docstring to get_hosts_left

pull/22711/head
Brian Coca 8 years ago
parent 6a4039e169
commit 4fb8b03f05

@ -920,6 +920,7 @@ class StrategyBase:
return [TaskResult(target_host, task, result)]
def get_hosts_left(self, iterator):
''' returns list of available hosts for this iterator by filtering out unreachables '''
hosts_left = []
for host in self._inventory.get_hosts(iterator._play.hosts, order=iterator._play.order):

Loading…
Cancel
Save