# Ansible Playbook for Windows Patching

**URL:** <https://forum.ansible.com/t/ansible-playbook-for-windows-patching/35983>\
**Category:** Ansible Developer\
**Tags:** windows\
**Created:** [November 10, 2021, 1:24pm UTC](https://forum.ansible.com/t/ansible-playbook-for-windows-patching/35983 "2021-11-10T13:24:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jitendra\_Ingale](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@Jitendra\_Ingale](https://forum.ansible.com/u/Jitendra_Ingale)\
**Post date:** [November 10, 2021, 1:24pm UTC](https://forum.ansible.com/t/ansible-playbook-for-windows-patching/35983/1 "2021-11-10T13:24:40Z")

</div>

Folks,

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.

Please suggest.

**Playbook**
