|
|
|
@ -48,7 +48,7 @@ class AsyncPoller(object):
|
|
|
|
if jid is None:
|
|
|
|
if jid is None:
|
|
|
|
raise errors.AnsibleError("unexpected error: unable to determine jid")
|
|
|
|
raise errors.AnsibleError("unexpected error: unable to determine jid")
|
|
|
|
if len(self.hosts_to_poll)==0:
|
|
|
|
if len(self.hosts_to_poll)==0:
|
|
|
|
raise errors.AnsibleErrot("unexpected error: no hosts to poll")
|
|
|
|
raise errors.AnsibleError("unexpected error: no hosts to poll")
|
|
|
|
self.jid = jid
|
|
|
|
self.jid = jid
|
|
|
|
|
|
|
|
|
|
|
|
def poll(self):
|
|
|
|
def poll(self):
|
|
|
|
|