Switch prep-apply.sh to use python3

As part of py2 deprecation, we need to obliterate its use before
being able to drop it.

Change-Id: I35101a53265705513feaf7278e48c02a92a0c3e5
This commit is contained in:
Sorin Sbarnea 2020-05-20 09:53:36 +01:00 committed by Monty Taylor
parent cf805976f8
commit b6311b5498

View File

@ -40,7 +40,7 @@ declare -A INTEGRATION_MODULES
source $MODULE_ENV_FILE
virtualenv --system-site-packages /tmp/apply-ansible-env
python3 -m virtualenv -p python3 --system-site-packages /tmp/apply-ansible-env
/tmp/apply-ansible-env/bin/pip install ansible
# Install puppet
ansible_root=$(mktemp -d)