fix ansible action
Some checks failed
Ansible Deploy / deploy (Ansible/cloudflare-dns.yml) (push) Failing after 5s
Ansible Deploy / deploy (Ansible/debian.yml) (push) Failing after 4s
Ansible Deploy / deploy (Ansible/heartbeat.yml) (push) Failing after 4s
Ansible Deploy / deploy (Ansible/openssh.yml) (push) Failing after 4s
Ansible Lint / build (push) Successful in 1m12s

This commit is contained in:
Benjamin Hays 2024-10-12 18:39:36 -04:00
parent cea5a69662
commit 9bc2dfd599

View File

@ -11,13 +11,7 @@ jobs:
- Ansible/heartbeat.yml
- Ansible/debian.yml
steps:
- uses: actions/checkout@v4
- name: Install Ansible
run: |
apt update -y
apt install python3-pip -y
python3 -m pip install ansible
- uses: actions/checkout@v3
#- name: Install Ansible Galaxy requirements
# run: |
@ -30,7 +24,7 @@ jobs:
playbook: ${{ matrix.playbook }}
# Optional, directory where playbooks live
directory: ./Ansible/
directory: ./
# Optional, SSH private key
key: ${{secrets.SSH_PRIVATE_KEY}}