Hi,
I have been trying to get Ansible working with Vagrant for a day or two now.
Vagrant instances are configured with a sudo enabled user, 'vagrant'.
The auto-generated ssh config does not provide password-less access to the root account.
So I guess vagrant will have to run it's commands using the 'vagrant' user account.
But when I added the 'vvvv' flag to debug vagrant it transpired that it was trying to use the root account.
I have spent some more time on it, and created a ticket :
https://github.com/ansible/ansible/issues/5403But even using Ansible from the command line, I cannot get it to perform a ssh connection using any user but root.
Has anyone else encountered a similar problem ?
Thanks,
Bryan Hunt