mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 12:51:04 +00:00
added docstring to get_hosts_left
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user