Cannot access nodes with SSH key file #413
Unanswered
sebastianstephan
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am having 4 nodes (without Promox) and want to install k3s on it. But it seems, that ansible cannot access the nodes.
My hosts.ini looks like this:
Now, if I run the following command, the console is asking me for the password for the key file over and over and over again.
ansible-playbook site.yml -i inventory/my-homelab/hosts.ini
Finally, I get the error messages
If I am connecting to the nodes "manually", I use "ssh -o "IdentitiesOnly=yes" -i ./sebastianstephan [email protected]" and can connect only by putting in the private key password successfully.
How can I make my ansible workflow access the nodes successfully? What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions