Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Oct 10, 2024
1 parent 4269a82 commit 515137f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .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 -J azureadmin@${JUMPHOST_IP} azureadmin@${RUNNER_HOST_IP} hostname"
[ "$VM_ENV" = "air-gapped" ] && eval $ssh_command
ssh_command="ssh -o StrictHostKeyChecking=no azureadmin@${JUMPHOST_IP} 'ssh -o StrictHostKeyChecking=no azureadmin@${RUNNER_HOST_IP} whoami'"
[ "$VM_ENV" = "air-gapped" ] && eval $ssh_command || true
ansible-playbook configure-image-factory-vm.yml
# -> TODO: remove condition [ "$VM_ENV" = "air-gapped" ] when devel env is no longer needed

0 comments on commit 515137f

Please sign in to comment.