From c2af24cfba0ca2078c250417cdd9d44c77c495c7 Mon Sep 17 00:00:00 2001 From: sawyer bristol Date: Tue, 10 Sep 2024 17:33:23 -0600 Subject: [PATCH] stop ansibl.cfg prompting for password --- .github/workflows/update-homelab.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-homelab.yml b/.github/workflows/update-homelab.yml index 6cc6ff1..3311aae 100644 --- a/.github/workflows/update-homelab.yml +++ b/.github/workflows/update-homelab.yml @@ -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 @@ -24,6 +24,9 @@ jobs: directory: ./ vault_password: ${{secrets.VAULT_PASSWORD}} requirements: requirements.yml + configuration: | + [ssh_connections] + pipelining = true options: | --inventory gateway --verbose @@ -35,6 +38,9 @@ jobs: directory: ./ vault_password: ${{secrets.VAULT_PASSWORD}} requirements: requirements.yml + configuration: | + [ssh_connections] + pipelining = true options: | --inventory homeserver --verbose