The filtered message says it's filtered due to category_names, here are the 
categories you've applied in one of your tasks

   - Upgrades
   - Security Updates

When you omit the category_names here are the categories it uses by default 
(as per the docs)

   - CriticalUpdates (same as "Critical Updates")
   - SecurityUpdates (same as "Security Updates")
   - UpdateRollups (same as "Update Rollups")

Here are the categories for KB2267602

   - Definition Updates
   - Windows Defender

You can see that none of the categories for KB2267602 are matching up in 
either of your tasks so they are being filtered out, hence the 
"filtered_reason": "category_names" entry in the filtered list.

For an update to not be filtered you MUST specify at least one of the 
categories it belongs to, you have not done this. The whitelist/blacklist 
is only applied to updates that have already matched the categories as per 
the documentation

The whitelist is only validated on updates that were found based on 
> *category_names*. It will not force the module to install an update if it 
> was not in the category specified.
>

You cannot just specify a whitelist of categories and expect them to be 
match, they MUST first be part of the categories you have specified.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/17ef0071-7b00-4d97-b1dd-cc723228da38%40googlegroups.com.

Reply via email to