Closed akorosov closed 8 years ago
Aha! It crashes only after 784a2cc3a781557d4b84de5bb364978f84940ac1 !
If I comment out
[ssh_connection]
+control_path = /tmp
then it works...
Hmm,
That means that we probably need to have a separate windows config, since that particular statement is windows-related…
--tor
If I comment out [ssh_connection] +control_path = /tmp then it works...
— Reply to this email directly or view it on GitHub.
Auch! I just ran into the same issue again. Even after I commented out [ssh_connection]
+control_path = /tmp. It seems the first time vagrant up
fails. And the second time 'vagrant provision' succeeds...
Yes, I can confirm my observation. The first time I do vagrant up
it does fail with exactly same error as before. The second time I run vagrant provision
it continues without a problem.
OK, I got it... Apparently it takes some time for my machine to create the virtual host and 'register' in the network. And ansible starts to provision right away, even before host is available. It is simply too fast :) I added timeout=30 to the ansible.cfg to slow it down a little and not it starts provisioning every time after vagrant up
.
Nevertheless these options still don't work:
[ssh_connection]
+control_path = /tmp
I had to commit them away.
vagrant up
starts virtual machine for thecourse
but it fails to provision. Apparently ansible tries to connect to 192.168.33.11:22 which is not accessible. Instead 127.0.0.1:2222 is accessible and should be used. I don't know if it is Ubuntu issue or my local network configuration issue. Here is the error :