Skip to content

Commit

Permalink
added private key file to the ssh connection
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosALgit committed Jan 20, 2025
1 parent d4a8463 commit e951f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/builder_OVA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit e951f8b

Please sign in to comment.