mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
Reduce spinning while waiting on queues
This commit is contained in:
parent
e2af57062c
commit
13750f68ee
3 changed files with 3 additions and 6 deletions
|
@ -239,9 +239,6 @@ class StrategyModule(StrategyBase):
|
|||
self._blocked_hosts[host.get_name()] = True
|
||||
self._queue_task(host, task, task_vars, play_context)
|
||||
|
||||
results = self._process_pending_results(iterator)
|
||||
host_results.extend(results)
|
||||
|
||||
# if we're bypassing the host loop, break out now
|
||||
if run_once:
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue