Not a lot of information to go on here, but it looks like you might need to 
change syntax, looking at the examples here:
https://docs.ansible.com/ansible/win_shell_module.html

try something like this in your playbook

win_shell: start.bat
args:
  chdir: C:\someApp\bin




On Monday, February 20, 2017 at 1:40:09 PM UTC, Hmdi Bz wrote:
>
> hello,
> I tried to execute a bash script ( the script is inside the remote windows 
> server)
> the bash script was executed but the win_shell  task hangs.
> win_shell: chdir="C:\\someApp\\bin" ./start.bat
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1e6ed657-c883-4ddc-ba63-76dff23bdec3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to