I’m trying to set upp ansible for a project with multiple Raspberry Pi’s. I created sshkey’s and copied them to my test node. I also made a host list. When i try to ping (ansible all -m ping) the node i keep getting the same errormsg:
SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh.
I know I can connect via ssh, because I did a test with ssh pi@ip_address. I also have to enter passphrase for id_rsa so i guess that means it recognizes the key on both ends?
When I run -vvvv it says:
ERROR! Missing target hosts
Anyway. If anybody came across this error before or know how I can solve it I would be greatfull.