Skip to content

Commit

Permalink
test with if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 21, 2024
1 parent 9ab37c2 commit 81d3e57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ansible-configure-if-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ 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'"
[ "$VM_ENV" = "air-gapped" ] && eval $ssh_command
ansible-playbook configure-image-factory-vm.yml
Expand Down

0 comments on commit 81d3e57

Please sign in to comment.