From f33710c0bf797fcfaaeff0a7b3c99503befe84db Mon Sep 17 00:00:00 2001 From: Geoff Jacobs Date: Fri, 11 Aug 2023 10:50:57 +1000 Subject: [PATCH] adding the variable to molecule --- group_vars/aws_node_local.yml | 2 +- roles/linux_common/molecule/default/converge.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/group_vars/aws_node_local.yml b/group_vars/aws_node_local.yml index 4e6dcff..33c170f 100644 --- a/group_vars/aws_node_local.yml +++ b/group_vars/aws_node_local.yml @@ -9,7 +9,7 @@ # # 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 +pipenv_venv: /usr/bin/python3 # this will get overridden by the wrapper scripts, but should allow molecule to run ansible_python_interpreter: "{{ pipenv_venv }}" java_major_version: "8" diff --git a/roles/linux_common/molecule/default/converge.yml b/roles/linux_common/molecule/default/converge.yml index 22677b5..6f6659a 100644 --- a/roles/linux_common/molecule/default/converge.yml +++ b/roles/linux_common/molecule/default/converge.yml @@ -3,5 +3,6 @@ hosts: all vars: atl_product_user: "jira" + pipenv_venv: "/usr/bin/python3" roles: - role: linux_common