diff --git a/defaults/main.yml b/defaults/main.yml index bdeb97f3..e01b9517 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -40,6 +40,7 @@ neutron_package_state: "latest" # Set installation method. neutron_install_method: "source" +neutron_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}" ### ### Python code details diff --git a/tasks/neutron_install.yml b/tasks/neutron_install.yml index df8edf0c..a15a38d2 100644 --- a/tasks/neutron_install.yml +++ b/tasks/neutron_install.yml @@ -50,6 +50,7 @@ import_role: name: "python_venv_build" vars: + venv_python_executable: "{{ neutron_venv_python_executable }}" venv_build_constraints: "{{ neutron_git_constraints }}" venv_build_distro_package_list: "{{ neutron_devel_distro_packages }}" venv_install_destination_path: "{{ neutron_bin | dirname }}"