diff --git a/lib/ansible/runner/poller.py b/lib/ansible/runner/poller.py index ab9e5b13898..d6d6fc7388e 100644 --- a/lib/ansible/runner/poller.py +++ b/lib/ansible/runner/poller.py @@ -48,7 +48,7 @@ class AsyncPoller(object): if jid is None: raise errors.AnsibleError("unexpected error: unable to determine jid") 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 def poll(self):