ansible-collections / vmware.vmware_rest

Ansible Collection for VMWare (REST modules)
https://ansible-collections.github.io/vmware.vmware_rest/
GNU General Public License v3.0
132 stars 64 forks source link

Add support for VMDK growth #243

Open albvar opened 3 years ago

albvar commented 3 years ago
SUMMARY

Looking for all references to https://{api_host}/api/vcenter/vm/{vm}/hardware/disk/{disk} and the only operations I can see supported are "delete". It appears that in order to update an existing vmdk with a new size it requires a "Patch" operations as seen here

ISSUE TYPE
COMPONENT NAME

vmware_rest.vcenter_vm_hardware_disk

ADDITIONAL INFORMATION

Looking to add support for expanding vmdk's to support increased capacity from what was originally defined at VM creation time.

latinofj-sei commented 3 years ago

+1 for this feature. I cannot see how I can increase the size of the primary VMDK created in the vcenter_vm module and I don't want to have to resort to the vmware_guest module to increase it.