set wsus content dir

This commit is contained in:
abrown38 committed 2024-09-27 17:37:58 +01:00
1 parent 13f5bdd45d
commit 844d5f011a
1 file changed
+7
@@ -6,6 +6,13 @@
win_file: win_file:
path: "{{ wsus_content_directory }}" path: "{{ wsus_content_directory }}"
state: directory state: directory
- name: Set WSUS Content Directory
tags: set_wsus_content_dir
win_shell: |
CD "C:\Program Files\Update Services\Tools"
.\wsusutil.exe postinstall CONTENT_DIR=W:\WSUS
#- name: Ensure WSUS server is deployed (UpdateServicesDSC) - Errors here :( #- name: Ensure WSUS server is deployed (UpdateServicesDSC) - Errors here :(
# tags: testing # tags: testing
# win_dsc: # win_dsc: