ansible/windows/winupdate.yaml

13 lines
367 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: '*'
reboot: yes
reboot_timeout: 3600
throttle: 1