This role installs and configures the WSUS role for Windows 2012 R2 and Windows 2016.
There are no special requirements apart from the standard items to allow Ansible to run on the target.
The following variables are defined in /vars/main.yml
:
install_management_tools
: Whether to install the WSUS MMC or not. Default isyes
content_folder
: Sets the folder location for WSUS to store its content. Default isC:\WSUS
products_list
: A list of products which updates will be downloaded for. Default items areWindows Server 2012 R2
andWindows Server 2016
classification_list
: A list of the Update Classifications that will be enabled. Default items areCritical Updates
andSecurity Updates
There are no known dependencies.
An example playbook for using this role:
- hosts: wsus_servers
roles:
- role: ansible-role-wsus
MIT