Hi,

Thanks to all.

I created the setup of “vagrant with cent OS”. 

When I do configuration, I could see the below error after done with “ping” 
command.


[root@localhost ansible]# ansible example -m ping -u vagrant
localhost | UNREACHABLE! => {
    "changed": false,
    "msg": "Failed to connect to the host via ssh.",
    "unreachable": true
}
[root@localhost ansible]#

My configuration file is like this:

## db-[99:101]-node.example.com
[example]
localhost

and my hostname is like this

[root@localhost ansible]# hostname
localhost.localdomain
[root@localhost ansible]#

Can you help me on fixing this. What are the steps required to finish this.
​

-- 


--



-- 
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/6ba83574-69d4-4efd-b533-bd5a8ace589d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to