ansible/windows/winupdate.yaml
2024-12-08 22:52:25 -06:00

14 lines
396 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
ignore_unreachable: true
tasks:
- name: Download and install critical, security, and def updates and then reboot after
win_updates:
# category_names: '*'
reboot: yes
reboot_timeout: 3600
throttle: 1