mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-20 23:30:22 -07:00
win_updates: Add post search category matching to support product matching (#45708)
* win_update: Add post search category matching to support product matching * win_updates: Return categories of each update * win_updates: Documentation fix-up * win_updates: Adjusted documentation to reflect regex vs sub-string match of post-cat strings * win_updates: Sped up post-category checking * win_updates: Updated documentation to suggest querying post-category strings * win_updates: Simplified saving and checking post-categories * fixed some issues and added filtered categories to return value * win_updates: Moved all category matching to occur after initial search * win_updates: Adjustments to satisfy PowerShell lint checks * win_updates: Dropped category validation from action plugin * win_updates: Documentation updates * win_updates: Fixed plugin unit tests
This commit is contained in:
parent
8245441b2e
commit
a2f3f16930
6 changed files with 113 additions and 149 deletions
|
@ -16,14 +16,6 @@ from ansible.playbook.task import Task
|
|||
class TestWinUpdatesActionPlugin(object):
|
||||
|
||||
INVALID_OPTIONS = (
|
||||
(
|
||||
{"category_names": ["fake category"]},
|
||||
False,
|
||||
"Unknown category_name fake category, must be one of (Application,"
|
||||
"Connectors,CriticalUpdates,DefinitionUpdates,DeveloperKits,"
|
||||
"FeaturePacks,Guidance,SecurityUpdates,ServicePacks,Tools,"
|
||||
"UpdateRollups,Updates)"
|
||||
),
|
||||
(
|
||||
{"state": "invalid"},
|
||||
False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue