Files
AWX/patch-dc-controllers.yaml
2025-09-09 09:47:31 +02:00

12 lines
291 B
YAML

- name: Get available updates
win_powershell: Get-WindowsUpdate
- name: Install updates
win_powershell: Install-WindowsUpdate -AcceptAll -AutoReboot
- name: Get update history
win_powershell: Get-WUHistory
- name: Restart domain controller
win_powershell: Restart-Computer -Force