From a35ac8475d85968226de108b2e9dd0e654ce0070 Mon Sep 17 00:00:00 2001 From: hatemosphere Date: Thu, 2 Nov 2023 15:58:06 +0100 Subject: [PATCH] force ansible to use installed python --- .github/workflows/load_testing.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/load_testing.yaml b/.github/workflows/load_testing.yaml index 5c81df0f..87c8b4eb 100644 --- a/.github/workflows/load_testing.yaml +++ b/.github/workflows/load_testing.yaml @@ -65,11 +65,12 @@ jobs: terraform_version: 1.5.6 - name: Install Ansible + env: + ANSIBLE_PYTHON_INTERPRETER: /home/runner/_work/_tool/Python/3.12.0/x64/bin/python run: | - python --version python -m pip install --upgrade pip - pip install ansible ansible-core google-auth - # pip install -r infrastructure/loadtests/ansible/requirements.txt + # pip install ansible ansible-core google-auth + pip install -r infrastructure/loadtests/ansible/requirements.txt ansible-galaxy install -r infrastructure/loadtests/ansible/requirements.yml - name: Terraform Init And Apply