Hey Guys,

I am successful executing ansible against an AWS ec2 when I put the public 
IP in the /etc/ansible/hosts file.  However, when I replace that with the 
ec2 hostname, ansible complains with:

ec2-xx-xxx-xxx-xx.compute-1.amazonaws.com | UNREACHABLE! => {
    "changed": false, 
    "msg": "Failed to connect to the host via ssh.", 
    "unreachable": true
}

Any help would be appreciated....


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to