Usually if you create a Vagrant VM an insecure private key gets injected into the VM, which is located at ~/.vagrant.d/insecure_private_key. In Ansible you can reference that key to ensure a passwordless login to the VM. Since Vagrant 1.8.5 this doesn’t work anymore, because of security reasons. That’s why I use now this shell provisionerContinue reading “Inject SSH pub key to Vagrant image”
I’m just playing around with Vagrant and as soon I tried: I got this error message: Luckily there is already a ticket to that on GitHub. And the workaround is this export: After executing the export above the command worked for me.