From f31c1efd16fba1701c8944b85a1bedb5697c1f74 Mon Sep 17 00:00:00 2001 From: Domenik Bildhauer Date: Tue, 31 Dec 2024 18:27:38 +0100 Subject: [PATCH] Add windows updates playbook --- windows/windows_update.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 windows/windows_update.yml diff --git a/windows/windows_update.yml b/windows/windows_update.yml new file mode 100644 index 0000000..90261cc --- /dev/null +++ b/windows/windows_update.yml @@ -0,0 +1,15 @@ +--- +- name: Windows Updates + hosts: windows + tasks: + - name: Check for available updates + win_updates: + state: searched + + - name: Download updates + win_updates: + state: installed + + - name: Reboot if required + win_reboot: + when: ansible_reboot_pending | bool