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