# vsphere\_guest adding disk and vnic

**URL:** <https://forum.ansible.com/t/vsphere-guest-adding-disk-and-vnic/23364>\
**Category:** Ansible Project\
**Created:** [January 3, 2017, 2:57pm UTC](https://forum.ansible.com/t/vsphere-guest-adding-disk-and-vnic/23364 "2017-01-03T14:57:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kresimir\_Petrovic](https://avatars.discourse-cdn.com/v4/letter/k/ac8455/32.png) [@Kresimir\_Petrovic](https://forum.ansible.com/u/Kresimir_Petrovic)\
**Post date:** [January 3, 2017, 2:57pm UTC](https://forum.ansible.com/t/vsphere-guest-adding-disk-and-vnic/23364/1 "2017-01-03T14:57:29Z")

</div>

Is adding additional disk and nic supported on vsphere\_guest module. I successfully created task that creates virtual machine with single disk and two vnics.  
I created additional task and using “state: reconfigured” and I tried to add new disk and one new vnic.

First time i run this thask it fails with:  
“Error in vm\_disk definition. Too many disks defined in comparison to the VM’s disk profile.” but nevertheless new disks is created (new nic is missing).

When I run the task second time there is no error and I get “changed=1” every time I run it again but new nic never appears.:

Is adding disks and nics to existing VM supported on vsphere\_guest module or this is some kind of bug. I’m running ansible 2.2.0.0

Thanks
