How to increase VM OS disk, from template, using ansible vmware guest module

Team,

I am looking for an option

How to increase VM OS disk, from template, using ansible vmware guest module.

Can anyone support

Thanks.

Hi Bhanu,

Are you trying to Deploy From Template but to Increase the Disk , if so a simple

vm_disk:
      disk1:
        size_gb: 10
        type: thin
        datastore: storage001
What is not supported is the decrease the disk size 

Than you so much … I was thinking that’s for additional disk, but not for OS disk … It worked …

disk:

  • size_gb: 60
    type: thin
    datastore: “test”

Thanks and Regards

Bhanu Prakash K