mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 17:03:06 -06:00
changing where we set the ansible_python_interpreter so that it can be overriden at a task level
This commit is contained in:
@@ -20,7 +20,7 @@ set +a
|
|||||||
pipenv run \
|
pipenv run \
|
||||||
ansible-playbook -v \
|
ansible-playbook -v \
|
||||||
$ATL_DEPLOYMENT_REPOSITORY_CUSTOM_PARAMS \
|
$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}" \
|
-e "${PLAYBOOK_INVOCATION_EXTRA_PARAMS}" \
|
||||||
-i $INV \
|
-i $INV \
|
||||||
$PLAYBOOK \
|
$PLAYBOOK \
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
#
|
#
|
||||||
# https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html
|
# https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html
|
||||||
|
|
||||||
|
ansible_python_interpreter: "{{ pipenv_venv | default(omit) }}"
|
||||||
|
|
||||||
java_major_version: "8"
|
java_major_version: "8"
|
||||||
postgres_version: "9.6"
|
postgres_version: "9.6"
|
||||||
git_version: "2.14.4"
|
git_version: "2.14.4"
|
||||||
|
|||||||
Reference in New Issue
Block a user