But this is the way we have to give hostname? On Thursday, 18 August 2016 22:18:14 UTC+5:30, pixel fairy wrote: > > sounds like a vagrant issue. ask here: > https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!forum/vagrant-up > > On Thursday, August 18, 2016 at 9:41:38 AM UTC-7, FISH wrote: >> >> 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/6eb24aca-3986-42bf-9021-4ce9a8ccdb87%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
