I am using below pasted playbook for windows server patching which has variable file defined along with.
It is supposed to take KB number mentioned in variable file and install it on server, followed by server reboot.
Problem is that, the said playbook is getting executed without any issue and also rebooting the server however its not installing mentioned KB patches on server as expected.
Have a look at the output of win_updates, it will tell you what updates were selected and the ones that were not. The ones that are “filtered” (not selected) will have a reason which states why they were filtered out. If the update doesn’t appear in the output at all then Windows couldn’t find it and thus cannot be installed.