mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
win_updates - fix category return value to be a list (#51001)
* win_updates - fix category return value to be a list * remove unstable test alias
This commit is contained in:
@@ -134,14 +134,6 @@ class ActionModule(ActionBase):
|
||||
result = super(ActionModule, self).run(tmp, task_vars)
|
||||
del tmp # tmp no longer has any effect
|
||||
|
||||
category_names = self._task.args.get('category_names', [
|
||||
'CriticalUpdates',
|
||||
'SecurityUpdates',
|
||||
'UpdateRollups',
|
||||
])
|
||||
if isinstance(category_names, AnsibleUnicode):
|
||||
category_names = [cat.strip() for cat in category_names.split(",")]
|
||||
|
||||
state = self._task.args.get('state', 'installed')
|
||||
reboot = self._task.args.get('reboot', False)
|
||||
reboot_timeout = self._task.args.get('reboot_timeout',
|
||||
|
||||
Reference in New Issue
Block a user