Stop async /bin/ansible if completed on all hosts.
This commit is contained in:
parent
a975852f66
commit
d366885367
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
########################################################
|
||||
|
||||
|
|
Loading…
Reference in a new issue