From 91dcd8c6f2c3cf073e88f84377ba4060f38e3066 Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Fri, 6 Dec 2024 01:11:32 -0500 Subject: [PATCH] fix cd --- .forgejo/workflows/ansibleCD.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.forgejo/workflows/ansibleCD.yml b/.forgejo/workflows/ansibleCD.yml index f5b2150..6c8bd20 100644 --- a/.forgejo/workflows/ansibleCD.yml +++ b/.forgejo/workflows/ansibleCD.yml @@ -139,6 +139,10 @@ jobs: run: | chmod 600 /root/.ssh/id_rsa + - name: Set up SSH agent + run: | + eval $(ssh-agent -s) + ssh-add /root/.ssh/id_rsa - name: Run Ansible Playbook uses: docker://mafyuh/ansible-bws:v1.0.4