# Using Ansible 2.3 to Clone a VM from one VMware vDC to another vDC

**URL:** <https://forum.ansible.com/t/using-ansible-2-3-to-clone-a-vm-from-one-vmware-vdc-to-another-vdc/24061>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [March 24, 2017, 7:22pm UTC](https://forum.ansible.com/t/using-ansible-2-3-to-clone-a-vm-from-one-vmware-vdc-to-another-vdc/24061 "2017-03-24T19:22:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcartwri99](https://avatars.discourse-cdn.com/v4/letter/l/9de053/32.png) [@lcartwri99](https://forum.ansible.com/u/lcartwri99)\
**Post date:** [March 24, 2017, 7:22pm UTC](https://forum.ansible.com/t/using-ansible-2-3-to-clone-a-vm-from-one-vmware-vdc-to-another-vdc/24061/1 "2017-03-24T19:22:44Z")

</div>

Hi Experts,

I’d like to know if it is possible to clone a VM from one VMware vDC to another vDC?

I know that I can clone a VM from a template within the same vDC but wanted to know if it was possible to clone between vDCs?

admin@cso-1:~$ cat Test.yaml

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [March 27, 2017, 7:51am UTC](https://forum.ansible.com/t/using-ansible-2-3-to-clone-a-vm-from-one-vmware-vdc-to-another-vdc/24061/2 "2017-03-27T07:51:35Z")

</div>

I haven’t tried to do this myself but I know that vmware\_guest module has had a lot of development work during 2.3 so might be worth checking if there is an open issue for this in the github project. I don’t have access to a multi-datacenter vsphere so I can’t test this myself.

Jon
