Skip to content

Commit

Permalink
force ansible to use installed python
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemosphere committed Nov 2, 2023
1 parent f2b9513 commit a35ac84
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/load_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a35ac84

Please sign in to comment.