From 2a805ea7c347ec0c613c825a37ad5fa64a318c26 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Tue, 14 Mar 2017 09:26:10 +1300 Subject: [PATCH] Add task for windows updates --- tasks/Windows.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/Windows.yml b/tasks/Windows.yml index fe1ede8..9afbeb1 100644 --- a/tasks/Windows.yml +++ b/tasks/Windows.yml @@ -37,9 +37,14 @@ - name: Ensure user locale set win_command: 'c:\temp\Defprof.exe Administrator /q' changed_when: false + +- name: Apply Windows Updates + win_updates: + when: apply_windows_updates - name: Default applications installed win_chocolatey: name: "{{ item }}" state: present - with_items: "{{ win_packages }}" \ No newline at end of file + with_items: "{{ win_packages }}" +