diff --git a/ansible/roles/win_wsus/tasks/configure.yml b/ansible/roles/win_wsus/tasks/configure.yml index db917e0..d84564c 100644 --- a/ansible/roles/win_wsus/tasks/configure.yml +++ b/ansible/roles/win_wsus/tasks/configure.yml @@ -1,30 +1,35 @@ --- -## vars: -## - wsus_content_dir: W:\WSUS -## # Client / Server: -## - wsus_client_targeting_mode: Client -## - wsus_products: -## #- Microsoft Server operating system-21H2 -## - Windows 10, version 1903 and later -## - wsus_category_names: -## CriticalUpdates: -## id: 'E6CF1350-C01B-414D-A61F-263D14D133B4' -## name: Critical Updates -## DefinitionUpdates: -## id: 'E0789628-CE08-4437-BE74-2495B842F43B' -## name: Definition Updates -## SecurityUpdates: -## id: '0FA1201D-4330-4FA8-8AE9-B877473B6441' -## name: Security Updates -## ServicePacks: -## id: '68C5B0A3-D1A6-4553-AE49-01D3A7827828' -## name: Service Packs -## UpdateRollups: -## id: '28BC880E-0592-4CBF-8F95-C79B17911D5F' -## name: Update Rollups Packs -## Updates: -## id: 'CD5FFD1E-E932-4E3A-BF74-18BF0B1BBD83' -## name: Updates +#- name: Configure WSUS server +# tags: configure_wsus +# block: + #- name: Ensure Content directory exists + # win_file: + # path: "{{ wsus_content_directory }}" + # state: directory + #- name: Ensure WSUS server is deployed (UpdateServicesDSC) - Errors here :( + # tags: testing + # win_dsc: + # resource_name: UpdateServicesServer + # Ensure: Present + # ContentDir: '{{ wsus_content_directory }}' + # Languages: en + # #Products: "{{ wsus_products }}" + # Products: "Windows Admin Center" + # PsDscRunAsCredential_username: Administrator + # PsDscRunAsCredential_password: "{{ ansible_password }}" + # #ErrorRecord: test + # Classifications: + # - "{{ CriticalUpdates }}" + # #- "{{ DefinitionUpdates }}" + # #- "{{ SecurityUpdates }}" + # #- "{{ ServicePacks }}" + # #- "{{ UpdateRollups }}" + # #- "{{ Updates }}" + # #Synchronize: True + # SynchronizeAutomatically: True + # SynchronizeAutomaticallyTimeOfDay: '15:30:00' + # ClientTargetingMode: "{{ wsus_client_targeting_mode }}" +