My project is to set up a sensor network of several nodes. I want to use 
Ansible to configure all nodes through ssh, so I downloaded ansible with 
pip and generated a ssh keypair. I then copied the key from the master to 
the node I am testing on. I also edited the host file with:

[node]

pi@###.###.###.###

I know I can access the node through ssh, because I did a ssh 
pi@###.###.###.### and got connection. I also tried to ping the ip and it 
worked like it should. Now, when I try to ping with ansible (ansible all -m 
ping) it won't work. I get the id_rsa password prompt, but after that I get 
this error message:

pi@###.###.###.### | UNREACHABLE! => {
    "changed": false,
    "msg": "SSH Error: data could not be sent to the remote host. Make sure 
this host can be reached over ssh",
    "unreachable": true
}

Since I know the host can be reached over ssh I really don't know how to 
get around this hurdle. Does anyone know what's wrong? 

All help would be much appriciated!
 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/da467e9c-627c-4257-b0a5-bc21679bc381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to