Merged in fix-ansible-python-interpreter (pull request #201)

changing where we set the ansible_python_interpreter so that it can be overriden at a task level

Approved-by: Brett Meehan
This commit is contained in:
Geoff Jacobs
2023-08-10 23:47:20 +00:00
2 changed files with 3 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ set +a
pipenv run \
ansible-playbook -v \
$ATL_DEPLOYMENT_REPOSITORY_CUSTOM_PARAMS \
-e "ansible_python_interpreter=$(pipenv --venv)/bin/python" \
-e "pipenv_venv=$(pipenv --venv)/bin/python" \
-e "${PLAYBOOK_INVOCATION_EXTRA_PARAMS}" \
-i $INV \
$PLAYBOOK \

View File

@@ -9,6 +9,8 @@
#
# https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html
ansible_python_interpreter: "{{ pipenv_venv | default('/usr/bin/python') }}"
java_major_version: "8"
postgres_version: "9.6"
git_version: "2.14.4"