Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 20, 2024
1 parent 81201dd commit a12012e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ansible-configure-if-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
- name: Configure VM with ansible
run: |
cd ansible
eval "$(ssh-agent -s)"
chmod 600 ansible_ssh_key
mkdir -p ~/.ssh
ssh-add ansible_ssh_key
ssh_command="ssh -o StrictHostKeyChecking=no azureadmin@${JUMPHOST_IP} 'ssh -o StrictHostKeyChecking=no azureadmin@${RUNNER_HOST_IP} whoami'"
echo $ssh_command
ssh-keyscan -H $JUMPHOST_IP >> ~/.ssh/known_hosts
cat ~/.ssh/known_hosts
Expand Down

0 comments on commit a12012e

Please sign in to comment.