# Ansible vmware module - create a template from a VM

**URL:** <https://forum.ansible.com/t/ansible-vmware-module-create-a-template-from-a-vm/29083>\
**Category:** Ansible Project\
**Tags:** windows, vmware\
**Created:** [November 20, 2018, 7:22pm UTC](https://forum.ansible.com/t/ansible-vmware-module-create-a-template-from-a-vm/29083 "2018-11-20T19:22:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tuyen\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Post date:** [November 20, 2018, 7:22pm UTC](https://forum.ansible.com/t/ansible-vmware-module-create-a-template-from-a-vm/29083/1 "2018-11-20T19:22:02Z")

</div>

Hi

I am seeing a lot of information on how to deploy a VM from a template, however what I am looking for is how we can create a template from a VM?

My plan is to first bring up a VM from a base template, then I will have Ansible do some customization of the Windows OS on the VM, then I would like to create a new template from the VM so that I can deploy this image to multiple more machines.

Is it possible to use Ansible to control VMWare to create a template from a VM?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Indian\_Velumani](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@Indian\_Velumani](https://forum.ansible.com/u/Indian_Velumani)\
**Post date:** [November 26, 2018, 4:43am UTC](https://forum.ansible.com/t/ansible-vmware-module-create-a-template-from-a-vm/29083/2 "2018-11-26T04:43:46Z")

</div>

Hi,  
Vmware create VM module  
[https://docs.ansible.com/ansible/2.6/modules/vmware\_guest\_module.html](https://docs.ansible.com/ansible/2.6/modules/vmware_guest_module.html)

---

<div class="post-metadata">

**Author:** ![Tuyen\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Post date:** [November 27, 2018, 7:18pm UTC](https://forum.ansible.com/t/ansible-vmware-module-create-a-template-from-a-vm/29083/3 "2018-11-27T19:18:53Z")

</div>

Hi

Thanks, I know of this module, however it seems the module has functions to create a VM from a template only? I would like to be able to create a template from a VM. Is that possible?
