version 3.8

This commit is contained in:
2025-09-09 12:39:16 +02:00
parent ff3ce22d95
commit b87e461515

View File

@@ -1,14 +1,6 @@
- name: Patch Domain Controllers via JEA
- name: Install updates
hosts: domain_controllers
gather_facts: no
tasks:
- name: Get available updates
win_command: Get-WindowsUpdate
- name: Install updates
win_command: Install-WindowsUpdate -AcceptAll -AutoReboot
- name: Get update history
win_command: Get-WUHistory
- name: Restart domain controller
win_command: Restart-Computer -Force
- name: Run Install-WindowsUpdate
command: Install-WindowsUpdate -AcceptAll -AutoReboot