Merge "Use python3 source installs of OpenStack services where possible"

This commit is contained in:
Zuul 2019-09-12 18:55:33 +00:00 committed by Gerrit Code Review
commit a8b36619b4
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,12 @@ openstack_release: "{{ lookup('env', 'OSA_VERSION') | default('undefined', true)
## OpenStack Configuration directory
openstack_config_dir: "{{ lookup('env', 'OSA_CONFIG_DIR') | default('/etc/openstack_deploy') }}"
## OpenStack service python version
openstack_venv_python_executable: "{{ (ansible_distribution == 'CentOS') | ternary('python2', 'python3') }}"
#uwsgi venv deploys the same python version as OpenStack service venv
uwsgi_python_executable: "{{ openstack_venv_python_executable }}"
## Verbosity Options
debug: False

View File

@ -120,6 +120,7 @@
include_role:
name: "python_venv_build"
vars:
venv_python_executable: "{{ utility_venv_python_executable | default(openstack_venv_python_executable) }}"
venv_install_destination_path: "{{ utility_venv_bin | dirname }}"
venv_pip_install_args: "{{ pip_install_options | default('') }}"
venv_build_constraints: