From b87e461515251636e1a328336e4db1bc33bafdc2 Mon Sep 17 00:00:00 2001 From: "mhorak@totalservice.cz" Date: Tue, 9 Sep 2025 12:39:16 +0200 Subject: [PATCH] version 3.8 --- patch-dc-controllers.yaml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/patch-dc-controllers.yaml b/patch-dc-controllers.yaml index 7d85b18..dc2104e 100644 --- a/patch-dc-controllers.yaml +++ b/patch-dc-controllers.yaml @@ -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