Vagrant Ansible Provisioner failing to ssh to guest machine

33 views
Skip to first unread message

Mehul Ved

unread,
Dec 10, 2014, 4:38:38 AM12/10/14
to ansible...@googlegroups.com
I am working on setting up Ansible provisioning with Vagrant.
Here's what the relevant configuration looks like http://pastebin.com/Tr6DPsY2
And here's the output http://pastebin.com/bDgWPHmY
I am not sure why is it failing when private key file is given in the command line, if I give ansible_ssh_private_key_file=/home/mehul/.vagrant.d/insecure_private_key it works fine. 

--
With Regards,
Mehul Ved

Mehul Ved

unread,
Dec 11, 2014, 1:51:20 PM12/11/14
to ansible...@googlegroups.com
I was looking through the docs again and saw http://docs.ansible.com/intro_configuration.html#private-key-file so vagrant is supplying the wrong CLI parameters? Has the parameter changed at any point?

Mehul Ved

unread,
Dec 15, 2014, 3:06:47 AM12/15/14
to ansible...@googlegroups.com
Just to close the thread and incase somebody else runs into it again. I did more testing, it was some regression in ansible 1.8.1 and symlinks http://pastebin.com/X9Z3wwB1
Upgrading to 1.8.2 has resolved the issue.
Reply all
Reply to author
Forward
0 new messages