Set python-path for SUSE builds

Ansible's auto python detection doesn't have logic for SUSE, so it
picks python 2.  This means Ansible is running under Python 2 on our
SUSE nodes, which is not what we want.  Override this to Python 3
explicitly.  If Ansible gets auto-detection for SUSE, we could revert
this.

Change-Id: I9e7074a48bf02d564fecb5d77e0c2d582c261105
This commit is contained in:
Ian Wienand 2020-05-11 15:33:31 +10:00
parent 57ba8ae454
commit 3e98f783bd
1 changed files with 2 additions and 0 deletions

View File

@ -283,6 +283,7 @@ diskimages:
- opensuse-minimal
- cache-devstack
release: '15.1'
python-path: /usr/bin/python3
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.openstack.org/opensuse'
@ -293,6 +294,7 @@ diskimages:
- opensuse-minimal
- cache-devstack
release: 'tumbleweed'
python-path: /usr/bin/python3
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.openstack.org/opensuse'