Win_reboot issue

Hi All,
I am using win_reboot model to reboot the windows machines but module is not working properly when windows takes more than 10 mins to reboot is there any alternative for this?

Thanks
Prajwal h g

You can use the reboot_timeout: 600 to wait for 10 min. It means that for 10min, ansible will wait until the next task.

I tried this but ansible won’t detect server status only it will give timeout error even though server comes online if I specify the extra parameters that you provided if I keep everything default it works fine

Try adding ignore_errors: true with the win_reboot task and see if it is still failing?