mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 08:57:21 +00:00
28 lines
778 B
YAML
28 lines
778 B
YAML
---
|
|
- name: Configure WSUS server
|
|
tags: configure_wsus
|
|
block:
|
|
- name: WSUS Script
|
|
tags: wsus_script
|
|
block:
|
|
- name: Copy WSUS setup script
|
|
win_copy:
|
|
src: "{{ wsus_script }}"
|
|
dest: "{{ script_dir }}\\{{ wsus_script }}"
|
|
force: true
|
|
tags: copy_wsus_script
|
|
|
|
- name: Copy WSUS optimization script
|
|
win_copy:
|
|
src: "{{ wsus_optimization_script }}"
|
|
dest: "{{ script_dir }}\\{{ wsus_optimization_script }}"
|
|
force: true
|
|
tags: copy_wsus_optimization_script
|
|
|
|
- name: Apply WSUS script
|
|
win_shell: "powershell {{ script_dir }}\\{{ wsus_script }}"
|
|
tags:
|
|
- apply_wsus_script
|
|
- never
|
|
|