From 4269a82c1804876489e11415ebdf99b38914cc9f Mon Sep 17 00:00:00 2001 From: Silvija Tovernic Date: Thu, 10 Oct 2024 13:30:11 +0200 Subject: [PATCH] update ssh command --- .github/workflows/ansible-configure-if-vm.yml | 2 +- wp10 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 160000 wp10 diff --git a/.github/workflows/ansible-configure-if-vm.yml b/.github/workflows/ansible-configure-if-vm.yml index 7b74a5bc..1eb21493 100644 --- a/.github/workflows/ansible-configure-if-vm.yml +++ b/.github/workflows/ansible-configure-if-vm.yml @@ -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 diff --git a/wp10 b/wp10 new file mode 160000 index 00000000..ba6c2243 --- /dev/null +++ b/wp10 @@ -0,0 +1 @@ +Subproject commit ba6c22433f99dbe849a9ac1f8abfc18a84751ad3