[ansible-project] Re: Issue with script not working on Windows/Cygwin

2018-03-14 Thread lpescatore via Ansible Project
Cygwin is a real PITA in relation to windows permissions. I hate it. But, it's doable. On Tuesday, March 13, 2018 at 1:27:24 PM UTC-7, lpesc...@google.com wrote: > > Hi, all. > I have an issue with a certain script (permissions) whilst using ansible. > First of all, I have one script that does

[ansible-project] Re: Issue with script not working on Windows/Cygwin

2018-03-14 Thread Jordan Borean
Weird, maybe cygwin's bash.exe relies on being part of the cmd shell to work (another reason why cygwin is quite painful). Glad you got it working though. Thanks Jordan -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from t

[ansible-project] Re: Issue with script not working on Windows/Cygwin

2018-03-14 Thread lpescatore via Ansible Project
Hi Jordan, Thanks for your help. I tried running the commands the way you said, but they do not work for me without the cmd.exe /c start portions. Anyway, I got this to work. The way I did it was make a win_acl play, give the C:\cygwin folder full control to everyone, and then run the scripts I

[ansible-project] Re: Issue with script not working on Windows/Cygwin

2018-03-13 Thread Jordan Borean
I can't say why it isn't working as most of the time I avoid Cygwin due to issues like these. One thing you should look into is changing your win_command tasks from - win_command: cmd.exe /c "start something.exe" to just - win_command: something.exe For example your 2nd task would look like