# What is the module to install drivers?

**URL:** <https://forum.ansible.com/t/what-is-the-module-to-install-drivers/32056>\
**Category:** Ansible Project\
**Created:** [January 24, 2020, 11:16pm UTC](https://forum.ansible.com/t/what-is-the-module-to-install-drivers/32056 "2020-01-24T23:16:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Work\_Email](https://avatars.discourse-cdn.com/v4/letter/w/34f0e0/32.png) [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Post date:** [January 24, 2020, 11:16pm UTC](https://forum.ansible.com/t/what-is-the-module-to-install-drivers/32056/1 "2020-01-24T23:16:37Z")

</div>

What is the module to install drivers ? it’s not working with win\_updates.

---

<div class="post-metadata">

**Author:** ![Work\_Email](https://avatars.discourse-cdn.com/v4/letter/w/34f0e0/32.png) [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Post date:** [January 25, 2020, 12:03am UTC](https://forum.ansible.com/t/what-is-the-module-to-install-drivers/32056/2 "2020-01-25T00:03:45Z")

</div>

it’s filtering now ----  
vars :

win\_updates:

- SecurityUpdates

- CriticalUpdates

- UpdateRollups

- Definition Updates

- Updates

- Windows Server 2016

- Windows Defender

- Feature Packs

- Silverlight

- Upgrades

- Windows 10

- Drivers  
tasks:

- name: check for missing updates  
win\_updates:  
state: searched  
catagory\_names: “{{ win\_updates }}”  
register: update\_count  
ignore\_errors: yes

- name: reboot if required  
win\_reboot:  
when: update\_count.reboot\_required  
ignore\_errors: yes

- name: install updates  
win\_updates:  
catagory\_names: “{{ win\_updates }}”  
reboot: yes  
register: update\_result

**OUTPUT**  
“changed”: false,  
“filtered\_updates”: {  
“65ecc208-c6b1-4fce-b892-fc2c93917d76”: {  
“categories”: [  
“Drivers”  
],  
“filtered\_reason”: “category\_names”,  
“id”: “65ecc208-c6b1-4fce-b892-fc2c93917d76”,  
“installed”: false,  
“kb”: ,  
“title”: “Logitech - Image - 10/24/2018 12:00:00 AM - 1.3.89.0”  
},  
“79bfbb87-ae9d-480d-9f6f-5c82361e015d”: {  
“categories”: [  
“Upgrades”  
],  
“filtered\_reason”: “category\_names”,  
“id”: “79bfbb87-ae9d-480d-9f6f-5c82361e015d”,  
“installed”: false,  
“kb”: [  
“4530684”  
],  
“title”: “Feature update to Windows 10, version 1909”  
},  
“9dd000db-ce7e-48cc-b7e9-0508ee8e6c56”: {  
“categories”: [  
“Updates”,  
“Windows 10”  
],  
“filtered\_reason”: “category\_names”,  
“id”: “9dd000db-ce7e-48cc-b7e9-0508ee8e6c56”,  
“installed”: false,  
“kb”: [  
“4534129”  
],  
“title”: “2020-01 Cumulative Update for .NET Framework 4.8 for Windows 10 Version 1709 for x64 (KB4534129)”  
}  
},  
“found\_update\_count”: 0,  
“installed\_update\_count”: 0,  
“reboot\_required”: false,  
“updates”: {}

---

<div class="post-metadata">

**Author:** ![Work\_Email](https://avatars.discourse-cdn.com/v4/letter/w/34f0e0/32.png) [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Post date:** [January 25, 2020, 12:35am UTC](https://forum.ansible.com/t/what-is-the-module-to-install-drivers/32056/3 "2020-01-25T00:35:43Z")

</div>

changed - `catagory_names` to `category_names.. Will try again but will the driver update ? please let me know`
