Skip to content

Commit

Permalink
stop ansibl.cfg prompting for password
Browse files Browse the repository at this point in the history
  • Loading branch information
LegitCamper committed Sep 10, 2024
1 parent e8c7e5b commit c2af24c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/update-homelab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4

- name: install ansible
run: sudo apt-get install -y ansible git
run: sudo apt-get install -y ansible

- name: Run gateway playbook
uses: dawidd6/action-ansible-playbook@v2
Expand All @@ -24,6 +24,9 @@ jobs:
directory: ./
vault_password: ${{secrets.VAULT_PASSWORD}}
requirements: requirements.yml
configuration: |
[ssh_connections]
pipelining = true
options: |
--inventory gateway
--verbose
Expand All @@ -35,6 +38,9 @@ jobs:
directory: ./
vault_password: ${{secrets.VAULT_PASSWORD}}
requirements: requirements.yml
configuration: |
[ssh_connections]
pipelining = true
options: |
--inventory homeserver
--verbose

0 comments on commit c2af24c

Please sign in to comment.