Added .venv to workflow, added requirements back
Some checks failed
Ansible Deploy / Homelab-Deploy (ansible/buildHomelab.yaml) (push) Failing after 1m8s
Some checks failed
Ansible Deploy / Homelab-Deploy (ansible/buildHomelab.yaml) (push) Failing after 1m8s
This commit is contained in:
parent
26a8079e2d
commit
f047cc233e
@ -20,6 +20,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install python3-pip -y
|
apt install python3-pip -y
|
||||||
|
python -m venv .venv
|
||||||
|
source .venv/bin/activate
|
||||||
python3 -m pip install -r requirements.txt
|
python3 -m pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Run playbook
|
- name: Run playbook
|
||||||
@ -33,6 +35,6 @@ jobs:
|
|||||||
key: ${{secrets.SSH_PRIVATE_KEY}}
|
key: ${{secrets.SSH_PRIVATE_KEY}}
|
||||||
vault_password: ${{secrets.VAULT_PASSWORD}}
|
vault_password: ${{secrets.VAULT_PASSWORD}}
|
||||||
# Optional, galaxy requirements filepath
|
# Optional, galaxy requirements filepath
|
||||||
requirements: requirements.yaml
|
#requirements: requirements.yaml
|
||||||
options: |
|
options: |
|
||||||
--inventory ansible/inventory.yaml
|
--inventory ansible/inventory.yaml
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
ansible==8.7.0
|
ansible==8.7.0
|
||||||
ansible-core==2.15.11
|
ansible-core==2.15.11
|
||||||
#cffi==1.15.1
|
cffi==1.15.1
|
||||||
#cryptography==39.0.0
|
cryptography==39.0.0
|
||||||
#Jinja2==3.1.2
|
Jinja2==3.1.2
|
||||||
#MarkupSafe==2.1.1
|
MarkupSafe==2.1.1
|
||||||
#packaging==23.0
|
packaging==23.0
|
||||||
#pycparser==2.21
|
pycparser==2.21
|
||||||
#PyYAML==6.0
|
PyYAML==6.0
|
||||||
#resolvelib==0.8.1
|
resolvelib==0.8.1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user