Default timeout for windows modules ??????

20 views
Skip to first unread message

sase kumar

unread,
Nov 6, 2018, 5:32:56 AM11/6/18
to Ansible Project
Hi folks,

I'm trying to run a hour long powershell script which needs to be executed on remote machine using win_shell module

My doubts here are 

1. How much is the default timeout for each tasks? is there seperate timeout available for each modules?
2. I dont see any progress until the action gets finished even though I tried to give -vvvv


Any suggestion for the above question will help me alot


Jordan Borean

unread,
Nov 6, 2018, 7:15:45 AM11/6/18
to Ansible Project
There’s no timeout for module execution by default. If you want to have a timeout value use async. The value you set to async is the maximum number of seconds the task can run for.

Ansible doesn’t support intermediate module output, you will have to wait until the module is complete before seeing the results.

Thanks

Jordan

sase kumar

unread,
Nov 6, 2018, 10:40:57 AM11/6/18
to Ansible Project
Thank you very much Jordan . That answered all question
Reply all
Reply to author
Forward
0 new messages