---
- hosts: mws_win:lokal_2019
tasks:
- name: Install all updates and reboot as many times as needed
ansible.windows.win_updates:
category_names: '*'
reboot: true