File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed
Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,19 @@ inputs:
1313runs :
1414 using : composite
1515 steps :
16- - uses : actions/setup-python@v5
17- with :
18- python-version : 3.11.x
19- # Cache Python dependencies
20- cache : pip
2116
2217 - name : Preparing Vault password file
2318 run : |
2419 echo "${{ inputs.vault-password }}" > "${{ inputs.vault-password-file }}"
2520 shell : bash
2621
22+ # Install python dependencies for ansible server side
23+ - uses : actions/setup-python@v6
24+ with :
25+ python-version : 3.11.x
26+ # Cache Python dependencies
27+ cache : pip
28+
2729 - name : Install Python dependencies
2830 run : |
2931 pip install -r requirements.txt
3335 run : |
3436 ansible-galaxy collection install -r requirements.yml -p ansible/collections
3537 shell : bash
38+
39+ # Install python dependencies for ansible client side
40+ - name : Install pip
41+ run : |
42+ sudo apt update
43+ sudo apt -y install python3-pip
44+ shell : bash
45+
46+ # NOTE(Alex-Welsh): This isn't the most elegant solution but there probably
47+ # isn't a better way unless we start specifying ansible_python_interpreter
48+ # everywhere. It's fine for CI purposes.
49+ - name : Install Python dependencies
50+ run : |
51+ /usr/bin/python3 -m pip install setuptools --break-system-packages
52+ shell : bash
You can’t perform that action at this time.
0 commit comments