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