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

reverting previous changes. issue turned out to be the wrong version of python on a node

Approved-by: Eugene Ivantsov
This commit is contained in:
Geoff Jacobs
2023-08-11 04:14:23 +00:00
5 changed files with 1 additions and 8 deletions

View File

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

View File

@@ -9,9 +9,6 @@
#
# https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html
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"
postgres_version: "9.6"
git_version: "2.14.4"

View File

@@ -2,4 +2,3 @@
atl_product_user_uid: '2001'
git_version: "2.14.4"
pipenv_venv: "/usr/bin/python"

View File

@@ -3,6 +3,5 @@
hosts: all
vars:
atl_product_user: "jira"
pipenv_venv: "/usr/bin/python"
roles:
- role: linux_common

View File

@@ -18,8 +18,6 @@
- curl
- unzip
- 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
ansible.builtin.group: