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