From ba82d3e4235212e12b5d92f05161130d8b9489b1 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 7 Aug 2014 23:49:36 -0500 Subject: [PATCH] Fix missing variable initialization for async jid Fixes #8491 --- lib/ansible/runner/poller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/runner/poller.py b/lib/ansible/runner/poller.py index cb2da738b1f..8bb30ed8fb6 100644 --- a/lib/ansible/runner/poller.py +++ b/lib/ansible/runner/poller.py @@ -34,6 +34,7 @@ class AsyncPoller(object): self.active = False # True to work with & below skipped = True + jid = None for (host, res) in results['contacted'].iteritems(): if res.get('started', False): self.hosts_to_poll.append(host)