Use openstack_venv_python_executable
Make masakari respect set openstack_venv_python_executable This also will create py3 venvs by default Change-Id: I9d7abbeff0f68cad3b646cde270437c88554080c
This commit is contained in:
parent
73cc5b6622
commit
3f5f393d22
@ -21,6 +21,7 @@ debug: False
|
||||
# clouds.yaml properly configured.
|
||||
masakari_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}"
|
||||
masakari_service_setup_host_python_interpreter: "{{ openstack_service_setup_host_python_interpreter | default((masakari_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable'])) }}"
|
||||
masakari_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
|
||||
|
||||
# Set the package install state for distribution and pip packages
|
||||
# Options are 'present' and 'latest'
|
||||
|
@ -67,6 +67,7 @@
|
||||
import_role:
|
||||
name: "python_venv_build"
|
||||
vars:
|
||||
venv_python_executable: "{{ masakari_venv_python_executable }}"
|
||||
venv_build_constraints: "{{ masakari_git_constraints }}"
|
||||
venv_build_distro_package_list: "{{ masakari_devel_distro_packages }}"
|
||||
venv_install_destination_path: "{{ masakari_bin | dirname }}"
|
||||
|
@ -26,7 +26,7 @@ masakari_devel_distro_packages:
|
||||
|
||||
masakari_monitor_distro_packages:
|
||||
- libsystemd-dev
|
||||
- python-libvirt
|
||||
- python3-libvirt
|
||||
|
||||
masakari_monitor_packages_to_symlink:
|
||||
- python-libvirt
|
||||
- python3-libvirt
|
||||
|
Loading…
x
Reference in New Issue
Block a user