Plumb job variables through to ansible
Change-Id: Ifc64fce1870fa2c0d205d6177af4896614303226
diff --git a/tests/base.py b/tests/base.py
index b8f9d0c..e6542e7 100755
--- a/tests/base.py
+++ b/tests/base.py
@@ -732,7 +732,7 @@
self.running_builds.append(build)
self.job_builds[job.unique] = build
args = json.loads(job.arguments)
- args['zuul']['_test'] = dict(test_root=self._test_root)
+ args['vars']['zuul']['_test'] = dict(test_root=self._test_root)
job.arguments = json.dumps(args)
self.job_workers[job.unique] = RecordingAnsibleJob(self, job)
self.job_workers[job.unique].run()