From e951f8b44d0d9172e4d2b6d14bcf0002ceebba48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Anguita=20L=C3=B3pez?= Date: Mon, 20 Jan 2025 17:28:56 +0100 Subject: [PATCH] added private key file to the ssh connection --- .github/workflows/builder_OVA.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/builder_OVA.yaml b/.github/workflows/builder_OVA.yaml index 8cb33b9..334cab1 100644 --- a/.github/workflows/builder_OVA.yaml +++ b/.github/workflows/builder_OVA.yaml @@ -175,7 +175,7 @@ jobs: - name: Install Python3 in the AWS instance run: | - ssh -p ${{ env.ansible_port }} -o 'StrictHostKeyChecking no' ${{ env.ansible_user }}@${{ env.ansible_host }} "sudo yum install -y python3" + ssh -p ${{ env.ansible_port }} -i ${{ env.ansible_ssh_private_key_file }} -o 'StrictHostKeyChecking no' ${{ env.ansible_user }}@${{ env.ansible_host }} "sudo yum install -y python3" - name: Run Ansible playbook to generate the OVA run: |