Commit 17807548 by James Cammarata

Merge branch 'gh-7432' of https://github.com/hfinucane/ansible into hfinucane-gh-7432

parents 22dbb65b 9638ab97
......@@ -43,6 +43,7 @@ class AsyncPoller(object):
self.active = True
else:
skipped = skipped and res.get('skipped', False)
self.runner.vars_cache[host]['ansible_job_id'] = ''
self.results['contacted'][host] = res
for (host, res) in results['dark'].iteritems():
self.runner.vars_cache[host]['ansible_job_id'] = ''
......
......@@ -56,3 +56,9 @@
- "'ansible_job_id' in async_result"
- "'started' in async_result"
- "'finished' not in async_result"
- name: test skipped task handling
command: /bin/true
async: 15
poll: 0
when: False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment