Files
AWX/patch-dc-controllers.yaml
2025-08-18 14:00:12 +02:00

19 lines
442 B
YAML

---
- name: Patch DCs directly via JEA (no scheduled task)
hosts: domain_controllers
gather_facts: no
tasks:
- name: Install security & critical updates
ansible.windows.win_updates:
category_names:
- SecurityUpdates
- CriticalUpdates
reboot: yes
reboot_timeout: 3600
register: updates_result
- name: Show summary
ansible.builtin.debug:
var: updates_result