Ansible/playbook/windows/InstallSecurityUpdates.yml

18 lines
320 B
YAML

- name: Check for updates
hosts: windows
tasks:
- name: Check for updates. Log the needed updates.
win_updates:
state: searched
category_name:
- SecurityUpdates
- CriticalUpdates
- UpdateRollups
register: output
- debug: msg="{{ output }}"