Merge "Add ansible python interpreter configuration support"

This commit is contained in:
Zuul 2018-12-12 00:50:06 +00:00 committed by Gerrit Code Review
commit 8f5b24de22
1 changed files with 7 additions and 1 deletions

View File

@ -103,6 +103,10 @@ parameters:
ssh_known_hosts_hostnames:
description: Mapping of hostname to ssh known hosts entry
type: json
PythonInterpreter:
type: string
description: The python interpreter to use for python and ansible actions
default: /usr/bin/python
conditions:
{% for step in range(1, deploy_steps_max) %}
@ -147,6 +151,9 @@ resources:
type: Json
- name: role_data_kolla_config
type: Json
- name: ansible_python_interpreter
description: Python interpreter to use for the ansible execution
default: {get_param: PythonInterpreter}
config:
str_replace:
@ -301,7 +308,6 @@ resources:
name: {{role.name}}ArtifactsDeploy
servers: {get_param: [servers, {{role.name}}]}
config: {get_resource: {{role.name}}ArtifactsConfig}
{% endfor %}
# BEGIN CONFIG STEPS, only on enabled_roles