Skip to content

Commit

Permalink
update ssh command
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Oct 10, 2024
1 parent 5f9421a commit 4269a82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ansible-configure-if-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
cd ansible
eval "$(ssh-agent -s)"
ssh-add ansible_ssh_key
ssh_command="ssh -o StrictHostKeyChecking=no azureadmin@${JUMPHOST_IP} 'ssh -o StrictHostKeyChecking=no azureadmin@${RUNNER_HOST_IP} whoami'"
ssh_command="ssh -o StrictHostKeyChecking=no -J azureadmin@${JUMPHOST_IP} azureadmin@${RUNNER_HOST_IP} hostname"
[ "$VM_ENV" = "air-gapped" ] && eval $ssh_command
ansible-playbook configure-image-factory-vm.yml
# -> TODO: remove condition [ "$VM_ENV" = "air-gapped" ] when devel env is no longer needed
1 change: 1 addition & 0 deletions wp10
Submodule wp10 added at ba6c22

0 comments on commit 4269a82

Please sign in to comment.