[RHEL8]Set venv_python_executable to python3
Since in RHEL-8, all stuff is tested using python3 but in python_venv_build role venv_python_executable var defaults to python2 leading to venv getting created to python2. So setting the same distro specific var fixes the issue. Change-Id: Iab4e9f9764c12ccf7536995920a21177aa1d6cda Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
parent
b20aec1329
commit
1a2358bb69
|
@ -21,6 +21,12 @@ tempest_distro_packages:
|
|||
|
||||
_stestr_executable: stestr-3
|
||||
|
||||
# NOTE(chandankumar): It is needed by python_venv_build ansible role to create
|
||||
# virtualenv. By default venv_python_executable var sets to python2, changing it
|
||||
# in the role itself, breaks other roles. So for distros using python3 making the
|
||||
# change here fixes the issue.
|
||||
venv_python_executable: "python3"
|
||||
|
||||
tempest_service_distro_packages:
|
||||
- openstack-tempest
|
||||
- python3-subunit
|
||||
|
|
Loading…
Reference in New Issue