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

711 views
Skip to first unread message

Bhanu Prakash

unread,
Apr 8, 2020, 8:34:55 AM4/8/20
to Ansible Project
Team,

I am looking for an option

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


Can anyone support

Thanks.

David Foley

unread,
Apr 8, 2020, 8:53:15 AM4/8/20
to Ansible Project
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 

Bhanu Prakash

unread,
Apr 8, 2020, 9:37:39 AM4/8/20
to ansible...@googlegroups.com
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

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c679a37b-3281-4733-86e7-47b0f80ebb60%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages