mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 00:13:09 -06:00
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:
@@ -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 \
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user