[ansible-project] Why a progress over when ansible exec all tasks on windows?

2016-08-01 Thread fcxjluo
ansible 2.2.0 I use raw module to run a bat,and the bat exec a jar,the jar will always run because it's a monitoring program。But when ansible exec the taks over,the jar will also over,why? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] Why the process over after completing tasks in windows?

2016-08-01 Thread fcxjluo
I use raw module 'Start-Process -FilePath my.bat' my.bat exec a process collect logs.But when the tasks over,the process will be also end.I believe the process can run no problem. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[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] ansible windows raw module no response?

2016-07-27 Thread fcxjluo
I just want to run my bat by raw module,like - name: exec run.bat raw: C:\run.bat The bat is about a program that get logs,so it will be always running,like Daemon. When I exec ansible-playbook,the task can't go on.How can I do? -- You received this message because you are subscribed to the