mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
Merged in fix-ansible-python-interpreter (pull request #202)
Fix ansible python interpreter Approved-by: Eugene Ivantsov
This commit is contained in:
@@ -9,7 +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('/usr/bin/python') }}"
|
pipenv_venv: /usr/bin/python # this will get overridden by the wrapper scripts, but should allow molecule to run
|
||||||
|
ansible_python_interpreter: "{{ pipenv_venv }}"
|
||||||
|
|
||||||
java_major_version: "8"
|
java_major_version: "8"
|
||||||
postgres_version: "9.6"
|
postgres_version: "9.6"
|
||||||
|
|||||||
@@ -2,3 +2,4 @@
|
|||||||
|
|
||||||
atl_product_user_uid: '2001'
|
atl_product_user_uid: '2001'
|
||||||
git_version: "2.14.4"
|
git_version: "2.14.4"
|
||||||
|
pipenv_venv: "/usr/bin/python"
|
||||||
@@ -3,5 +3,6 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
vars:
|
vars:
|
||||||
atl_product_user: "jira"
|
atl_product_user: "jira"
|
||||||
|
pipenv_venv: "/usr/bin/python"
|
||||||
roles:
|
roles:
|
||||||
- role: linux_common
|
- role: linux_common
|
||||||
|
|||||||
@@ -18,6 +18,8 @@
|
|||||||
- curl
|
- curl
|
||||||
- unzip
|
- unzip
|
||||||
- fontconfig
|
- fontconfig
|
||||||
|
vars:
|
||||||
|
ansible_python_interpreter: "{{ '/usr/bin/python2' if ((ansible_distribution | lower == 'amazon') and (ansible_distribution_version == '2')) else pipenv_venv }}"
|
||||||
|
|
||||||
- name: Create product group
|
- name: Create product group
|
||||||
ansible.builtin.group:
|
ansible.builtin.group:
|
||||||
|
|||||||
Reference in New Issue
Block a user