bertramn / ansible-win-wrapper

Executable wrapper to wrap ansible commands on windows using cygwin and cygwin-python
Apache License 2.0
4 stars 0 forks source link

Error: Vagrant::Util::Subprocess::LaunchError #2

Open jadbaz opened 6 years ago

jadbaz commented 6 years ago

So I managed to run ansible on Cygwin. The command ansible-playbook smoke_test.yml runs flawlessly. However, Vagrant integration still isn't working. I think I followed all instructions to the letter. One thing I did different is, I didn't use cygwin.ini but rather just replaced c:\cygwin with c:\cygwin64 in ansible-playbook.bat

Environment:

Files:

Error log: vagrant_ansible_windows_povision_verbose_error_log.txt

bertramn commented 5 years ago

Yeah don't use the .bat file. I tried to pull together all the wizardry I found on the web but doing this with batch files is not working. I then wrote the win wrapper to delegate the ansible-playbook call that vagrant would perform to the cygwin environment. Thats the code in the .go file. Checkout post #1.