Skip to content

Windows upgrades

Windows automatically upgrade
1
2
3
4
5
6
7
8
- name:  Windows Update
  hosts: wserver.merox.cloud
  gather_facts: false
  tasks:
    - name: Running Windows Update
      win_updates:
        category_names: ['SecurityUpdates','CriticalUpdates','UpdateRollups', 'Updates', 'DefinitionUpdates']
        reboot: yes