win_updates: fix regression when using string cat names (#36015)

This commit is contained in:
Jordan Borean 2018-02-15 06:14:06 +10:00 committed by GitHub
commit 8fb66c18de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -43,8 +43,7 @@
- name: search for updates with log output (check)
win_updates:
state: searched
category_names:
- CriticalUpdates
category_names: CriticalUpdates
log_path: '{{win_updates_dir}}/update.log'
register: update_search_with_log_check
check_mode: yes