Default timeout for windows modules ??????

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

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

Thank you very much Jordan . That answered all question