vn-ansible/windows/restart_service.yml

7 lines
121 B
YAML
Raw Normal View History

2023-08-22 11:51:06 +00:00
---
2023-08-23 07:44:21 +00:00
- hosts: W2019
2023-08-22 11:51:06 +00:00
tasks:
2023-08-23 07:44:21 +00:00
- name: Stop service WSearch
2023-08-22 11:51:06 +00:00
win_service:
2023-08-23 07:46:31 +00:00
name: wuauserv
2023-08-22 11:51:06 +00:00
state: stopped