win_ansible_role_base_setup/tasks/updates.yml

10 lines
272 B
YAML
Raw Permalink Normal View History

2021-12-20 19:10:07 +01:00
---
- name: Search-only, return list of found updates (if any), log to C:\ansible_updates.txt
ansible.windows.win_updates:
category_names:
- SecurityUpdates
- CriticalUpdates
- UpdateRollups
state: searched
log_path: C:\ansible_updates.txt