2019-04-07 11:37:31 -07:00
|
|
|
|
|
|
|
- name: Check for updates
|
|
|
|
hosts: windows
|
|
|
|
|
|
|
|
tasks:
|
2019-04-07 14:27:08 -07:00
|
|
|
- name: Check for updates. Log the needed updates.
|
|
|
|
win_updates:
|
|
|
|
state: searched
|
|
|
|
category_name:
|
|
|
|
- SecurityUpdates
|
|
|
|
- CriticalUpdates
|
|
|
|
- UpdateRollups
|
2019-04-08 08:21:28 -07:00
|
|
|
register: output
|
2019-04-07 14:27:08 -07:00
|
|
|
|
2019-04-08 08:21:28 -07:00
|
|
|
- debug: msg="{{ output }}"
|
2019-04-07 14:27:08 -07:00
|
|
|
|
2019-04-07 11:37:31 -07:00
|
|
|
|