mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 04:41:27 +00:00
Stop async /bin/ansible if completed on all hosts.
This commit is contained in:
@@ -147,6 +147,8 @@ class Cli(object):
|
||||
clock = clock - options.poll_interval
|
||||
time.sleep(options.poll_interval)
|
||||
poll_hosts = self.hosts_to_poll(poll_results)
|
||||
if len(poll_hosts)==0:
|
||||
break
|
||||
|
||||
########################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user