Ansible windows update module how to install ALL updates
Is there a way to use the win_updates
module in ansible to install ALL updates without having to specify every update category manually on the playbook?
Solution 1:
taken from https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_updates_module.html#examples :
- name: Install all updates and reboot as many times as needed
ansible.windows.win_updates:
category_names: '*'
reboot: yes