mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
win_updates: add scheduled tasks back in for older hosts (#38708)
* win_updates: add scheduled tasks back in for older hosts * Fixed up typo in category name error message * Fixed up some minor issues after merge * added changelog fragment * Default to become but add override to use scheduled tasks * Added basic unit tests for win_updates * fix minor typos
This commit is contained in:
committed by
Matt Davis
parent
dff662fa0f
commit
457bccf540
@@ -63,12 +63,13 @@
|
||||
- update_search_with_log_check.found_update_count is defined
|
||||
- update_search_with_log_check_actual.stat.exists == False
|
||||
|
||||
- name: search for updates with log output
|
||||
- name: search for updates with log output and use scheduled task
|
||||
win_updates:
|
||||
state: searched
|
||||
category_names:
|
||||
- CriticalUpdates
|
||||
log_path: '{{win_updates_dir}}/update.log'
|
||||
use_scheduled_task: yes
|
||||
register: update_search_with_log
|
||||
|
||||
- name: get stat of update log file
|
||||
|
||||
Reference in New Issue
Block a user