hello it looks more a ansible question rather vagrant, itsnt?
How the root user is being able to log in as vagrant? did you setup root -> vagrant ssh password less? Alvaro > On 18/08/2016, at 7:00 PM, STARFISH <[email protected]> wrote: > > Hi, > > 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 <http://node.example.com/> > [example] > localhost > and my hostname is like this > > [root@localhost ansible]# hostname > localhost.localdomain > [root@localhost ansible]# > > I had a comment from "ansible" groups, stating that this might be a "vagrant" > issue. > > > > Can you help me of fixing htis? > > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html > <https://www.hashicorp.com/community-guidelines.html>. Behavior in violation > of those guidelines may result in your removal from this mailing list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > <https://github.com/mitchellh/vagrant/issues> > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/7fada917-5087-410c-8887-63bd11a50fe2%40googlegroups.com > > <https://groups.google.com/d/msgid/vagrant-up/7fada917-5087-410c-8887-63bd11a50fe2%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/2D211990-1442-4B52-BA0A-D1F901F6F967%40gmail.com. For more options, visit https://groups.google.com/d/optout.
