Files
windows-ansible/ansible/roles/win_wsus/tasks/configure.yml
T
2025-03-20 12:24:18 +00:00

21 lines
515 B
YAML

---
- name: Configure WSUS server
tags: configure_wsus
block:
- name: WSUS Script
tags: wsus_script
block:
- name: Copy WSUS script
win_copy:
src: "{{ wsus_script }}"
dest: "{{ script_dir }}\\{{ wsus_script }}"
force: true
tags: copy_wsus_script
- name: Apply WSUS script
win_shell: "powershell {{ script_dir }}\\{{ wsus_script }}"
tags:
- apply_wsus_script
- never