From 4d7523130b0f87bf2961d0e727e1d0a44e0d2153 Mon Sep 17 00:00:00 2001 From: Martin Demko <325073@mail.muni.cz> Date: Sun, 10 Nov 2024 23:27:03 +0100 Subject: [PATCH] Update action.yaml Test of StrictHostKeyChecking=no --- .github/actions/deploy-common/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/deploy-common/action.yaml b/.github/actions/deploy-common/action.yaml index bb471d5..4244414 100644 --- a/.github/actions/deploy-common/action.yaml +++ b/.github/actions/deploy-common/action.yaml @@ -12,7 +12,7 @@ runs: install -m 600 -D /dev/null $HOME/.ssh/id_rsa echo "$SSH_PRIVATE_KEY" > $HOME/.ssh/id_rsa cp known_hosts $HOME/.ssh/known_hosts - ssh $TARGET_USER@$TARGET_HOSTNAME hostname -f + ssh -f -o StrictHostKeyChecking=no $TARGET_USER@$TARGET_HOSTNAME hostname - name: Install Ansible requirements shell: bash