# Ansible vmware module does not have PCI device addition feature

**URL:** <https://forum.ansible.com/t/ansible-vmware-module-does-not-have-pci-device-addition-feature/33686>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [August 27, 2020, 3:59pm UTC](https://forum.ansible.com/t/ansible-vmware-module-does-not-have-pci-device-addition-feature/33686 "2020-08-27T15:59:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi\_Virmani](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@Ravi\_Virmani](https://forum.ansible.com/u/Ravi_Virmani)\
**Post date:** [August 27, 2020, 3:59pm UTC](https://forum.ansible.com/t/ansible-vmware-module-does-not-have-pci-device-addition-feature/33686/1 "2020-08-27T15:59:39Z")

</div>

Hi

I am trying to add PCI device in new or cloned virtual machine but Ansible vmware module (vmware\_guest) does not have parameters to add PCI device in virtual machine. While adding parameters with any name or keyword like pci\_address, pci\_controller, pci\_device etc. in playbook, but during execution ansible is not bothering/reading these parameters and moved on without any error or warning or changes.

Please help.

changed: [localhost] =\> {  
“changed”: true,  
“instance”: {  
“annotation”: “”,  
“current\_snapshot”: null,  
“customvalues”: {},  
“guest\_consolidation\_needed”: false,  
“guest\_question”: null,  
“guest\_tools\_status”: “guestToolsNotRunning”,  
“guest\_tools\_version”: “10277”,  
“hw\_cluster”: “WL5\_SYNERGY\_vCLU”,  
“hw\_cores\_per\_socket”: 1,  
“hw\_datastores”: [  
“wl53par01\_ds03”  
],  
“hw\_esxi\_host”: “10.10.154.53”,  
“hw\_eth0”: {  
“addresstype”: “assigned”,  
“ipaddresses”: null,  
“label”: “Network adapter 1”,  
“macaddress”: “00:50:56:82:80:60”,  
“macaddress\_dash”: “00-50-56-82-80-60”,  
“portgroup\_key”: null,  
“portgroup\_portkey”: null,  
“summary”: “MGMT0”  
},  
“hw\_eth1”: {  
“addresstype”: “assigned”,  
“ipaddresses”: null,  
“label”: “Network adapter 2”,  
“macaddress”: “00:50:56:82:b9:ba”,  
“macaddress\_dash”: “00-50-56-82-b9-ba”,  
“portgroup\_key”: null,  
“portgroup\_portkey”: null,  
“summary”: “HA”  
},  
“hw\_eth2”: {  
“addresstype”: “assigned”,  
“ipaddresses”: null,  
“label”: “Network adapter 3”,  
“macaddress”: “00:50:56:82:ec:9e”,  
“macaddress\_dash”: “00-50-56-82-ec-9e”,  
“portgroup\_key”: null,  
“portgroup\_portkey”: null,  
“summary”: “MGMT1”  
},  
“hw\_eth3”: {  
“addresstype”: “assigned”,  
“ipaddresses”: null,  
“label”: “SR-IOV network adapter 2”,  
“macaddress”: “00:50:56:82:77:84”,  
“macaddress\_dash”: “00-50-56-82-77-84”,  
“portgroup\_key”: null,  
“portgroup\_portkey”: null,  
“summary”: “PKT0\_SRIOV”  
},  
“hw\_eth4”: {  
“addresstype”: “assigned”,  
“ipaddresses”: null,  
“label”: “SR-IOV network adapter 1”,  
“macaddress”: “00:50:56:82:b1:f9”,  
“macaddress\_dash”: “00-50-56-82-b1-f9”,  
“portgroup\_key”: null,  
“portgroup\_portkey”: null,  
“summary”: “PKT1\_SRIOV”  
},  
“hw\_files”: [  
“[wl53par01\_ds03] NFVISBC\_GPU/NFVISBC\_GPU.vmx”,  
“[wl53par01\_ds03] NFVISBC\_GPU/NFVISBC\_GPU.nvram”,  
“[wl53par01\_ds03] NFVISBC\_GPU/NFVISBC\_GPU.vmsd”,  
“[wl53par01\_ds03] NFVISBC\_GPU/NFVISBC\_GPU.vmdk”  
],  
“hw\_folder”: “/WL5\_SYNERGY/vm”,  
“hw\_guest\_full\_name”: null,  
“hw\_guest\_ha\_state”: null,  
“hw\_guest\_id”: null,  
“hw\_interfaces”: [  
“eth0”,  
“eth1”,  
“eth2”,  
“eth3”,  
“eth4”  
],  
“hw\_is\_template”: false,  
“hw\_memtotal\_mb”: 49152,  
“hw\_name”: “NFVISBC\_GPU”,  
“hw\_power\_status”: “poweredOff”,  
“hw\_processor\_count”: 44,  
“hw\_product\_uuid”: “4202226c-2457-4f2f-cb16-f42f5a4500c3”,  
“hw\_version”: “vmx-14”,  
“instance\_uuid”: “5002631f-b7f8-9f93-4e8a-ea980bf0c66a”,  
“ipv4”: null,  
“ipv6”: null,  
“module\_hw”: true,  
“moid”: “vm-2182”,  
“snapshots”: ,  
“vimref”: “vim.VirtualMachine:vm-2182”,  
“vnc”: {}  
},  
“invocation”: {  
“module\_args”: {  
“annotation”: null,  
“cdrom”: ,  
“cluster”: null,  
“convert”: null,  
“customization”: {},  
“customization\_spec”: null,  
“customvalues”: ,  
“datacenter”: “WL5\_SYNERGY”,  
“datastore”: “wl53par01\_ds03”,  
“disk”: ,  
“esxi\_hostname”: “10.10.154.53”,  
“folder”: “/WL5\_SYNERGY/vm/”,  
“force”: false,  
“guest\_id”: null,  
“hardware”: {  
“pci\_device”: “present”,  
“pciid”: “0000:5f:00.0”  
},  
“hostname”: “10.10.10.214”,  
“is\_template”: false,  
“linked\_clone”: false,  
“name”: “NFVISBC\_GPU”,  
“name\_match”: “first”,  
“networks”: ,  
“password”: “VALUE\_SPECIFIED\_IN\_NO\_LOG\_PARAMETER”,  
“port”: 443,  
“proxy\_host”: null,  
“proxy\_port”: null,  
“resource\_pool”: null,  
“snapshot\_src”: null,  
“state”: “poweredoff”,  
“state\_change\_timeout”: 0,  
“template”: “RVISBC\_GPU\_TEMP”,  
“use\_instance\_uuid”: false,  
“username”: “nfviauto@vsphere.local”,  
“uuid”: null,  
“validate\_certs”: false,  
“vapp\_properties”: ,  
“wait\_for\_customization”: false,  
“wait\_for\_ip\_address”: false  
}  
}  
}
