Thank you so much Hawkesworth

On Thursday, May 7, 2020 at 3:15:18 PM UTC-5, J Hawkesworth wrote:
>
> I thought someone had added recovery actions to win_service module, but 
> maybe that PR never got finished, or I am confused with dependent services.
>
> I think you would have to use script module and some powershell to set 
> recovery actions.  You could maybe use sc.exe too if you are in a hurry, 
> although it would repeat the command every time you run the playbook.  
> Maybe that doesn't matter though, it depends on what you need to get done.
>
> Hope this helps,
>
> Jon
>
> On Thursday, May 7, 2020 at 8:42:45 PM UTC+1, vinod devops wrote:
>>
>> Hi Friends,
>>
>> How do I set windows service recovery on. failure, 
>>
>> suppose x service stopped due to failure, it needs to started 
>> automatically by creating recovery condition with. ansible windows service?
>>
>>
>> How do I do that ? 
>>
>> Thanks
>> vinod
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c3d2d84d-5815-4438-9800-cfd5ff76b3b8%40googlegroups.com.

Reply via email to