Make ansible version configurable

Currently the default ansible version is selected by the version of
zuul itself. However we want to make this configurable per deployment
(zuul.conf), tenant and job.

Change-Id: Iccbb124ac7f7a8260c730fbc109ccfc1dec09f8b
This commit is contained in:
Tobias Henkel
2019-02-17 10:18:13 +01:00
parent 07ab212f01
commit 5c2b61e638
27 changed files with 323 additions and 57 deletions

View File

@@ -498,6 +498,7 @@ class PipelineManager(object):
layout = loader.createDynamicLayout(
item.pipeline.tenant,
build_set.files,
self.sched.ansible_manager,
include_config_projects=True)
if not len(layout.loading_errors):
trusted_layout_verified = True
@@ -509,6 +510,7 @@ class PipelineManager(object):
layout = loader.createDynamicLayout(
item.pipeline.tenant,
build_set.files,
self.sched.ansible_manager,
include_config_projects=False)
else:
# We're a change to a config repo (with no untrusted