Ansible/playbook/windows/InstallSecurityUpdates.yml
James Tombleson d43d21157c windows updates can be parsed
Figured out how to get the returned values back.  Getting into choco now.
2019-04-08 08:21:28 -07:00

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 }}"