ansible/windows/winupdate.yaml

16 lines
442 B
YAML

---
## Runs Win Updates on all Windows Servers, allowing enough time for them to not slow down due to SSD cycles.
- hosts: all
gather_facts: yes
# become: yes
tasks:
- name: Download and install critical, security, and def updates and then reboot after
win_updates:
category_names:
- CriticalUpdates
- DefinitionUpdates
- SecurityUpdates
reboot: yes
reboot_timeout: 400
throttle: 1