Fix deploy host key verification failure #4
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/deploy-host-key-checking"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The deploy pipeline failed with
Host key verification failedafter the inventory'sStrictHostKeyChecking=accept-newwas removed. The ephemeral runner has no persistentknown_hosts, so default strict checking rejects the host every run.Fix: set
host_key_checking = Falsein the deploy task's throwawayansible.cfg— a deploy-environment concern, kept out of the committed inventory. Restores the TOFU posture the inventory previously had. The check/test pipeline is unaffected (no SSH).Pipelines as Code CI/glitches-chat-test-pjr4s is running.
Starting Pipelinerun glitches-chat-test-pjr4s in namespace glitches-chat-pipelines
You can monitor the execution using the Tekton Dashboard PipelineRun viewer or through the command line by
using the tkn CLI with the following command:
tkn pr logs -n glitches-chat-pipelines glitches-chat-test-pjr4s -fPipelines as Code CI/glitches-chat-test-pjr4s has successfully validated your commit.
Task Statuses:
fetch-repository
Static checks