Hi Giovanni , Thanks for your valuable solution. I deleted all entries in known_hosts file and it resolved my issue.
On Friday, 13 February 2015 06:54:09 UTC+5:30, Giovanni Tirloni wrote: > > On Wed, 11 Feb 2015 22:18 -0800, Amol Shende <[email protected] > <javascript:>> > wrote: > > Hi Everyone, I am using ansible since 2 months. It was working fine > > uptill > > now. But, now it is giving error to every ansible command. > > For Ex. I am running ping command it is giving following error > > [...] > > > > "/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/ssh.py", > > > line 236, in not_in_host_file > > if tokens[0].find(self.HASHED_KEY_MAGIC) == 0: > > *IndexError: list index out of range* > > Something is wrong with your "~/.ssh/known_hosts" file? > > Giovanni > -- 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/65edb822-bbe2-4db2-946c-13d7471dd20c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
