17 lines
473 B
YAML
17 lines
473 B
YAML
---
|
|
## Runs Win Updates on all Windows Servers, allowing enough time for them to not slow down due to SSD cycles.
|
|
- name: Windows Server Updates
|
|
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 |