mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-04 09:38:52 +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:
parent
dff662fa0f
commit
457bccf540
6 changed files with 685 additions and 325 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue