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.
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?
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.