vn-ansible/windows-restart_service.yml

7 lines
121 B
YAML

---
- hosts: W2019
tasks:
- name: Stop service WSearch
win_service:
name: wuauserv
state: stopped