[ansible-project] Re: ansible windows raw module no response?

2016-08-01 Thread 'J Hawkesworth' via Ansible Project
An optional configurable timeout would be nice, but I have some tasks that run for over 60 minutes so I would not want a short default. Can you use Remote Desktop to check if your program is well perhaps? On Monday, August 1, 2016 at 2:02:45 PM UTC+1, fcx...@gmail.com wrote: > > Thanks for

[ansible-project] Re: ansible windows raw module no response?

2016-08-01 Thread fcxjluo
Thanks for your answer.I am not sure whether my program is well.But I think ansible should close the task if the task exec too long. 在 2016年7月28日星期四 UTC+8上午7:34:49,J Hawkesworth写道: > > If it is always running then may be you need to set up whatever the > run.bat does as a windows service. >

[ansible-project] Re: ansible windows raw module no response?

2016-07-27 Thread 'J Hawkesworth' via Ansible Project
If it is always running then may be you need to set up whatever the run.bat does as a windows service. You can install nssm.exe and use win_nssm module to install programs as services, and then use the win_service module to start and stop them. You can use fetch module against windows