# ansible can't clone VM through pysphere module

**URL:** <https://forum.ansible.com/t/ansible-cant-clone-vm-through-pysphere-module/22939>\
**Category:** Ansible Developer\
**Tags:** vmware\
**Created:** [November 2, 2016, 9:13am UTC](https://forum.ansible.com/t/ansible-cant-clone-vm-through-pysphere-module/22939 "2016-11-02T09:13:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jian.li3hpe](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jian.li3hpe](https://forum.ansible.com/u/jian.li3hpe)\
**Post date:** [November 2, 2016, 9:13am UTC](https://forum.ansible.com/t/ansible-cant-clone-vm-through-pysphere-module/22939/1 "2016-11-02T09:13:06Z")

</div>

Hi guys,

I have met an issue, I can’t operate VMware Vsphere to clone VMs with pysphere python module. I have **administrator control** for our VMware pool! Below are my playbook, python environment, and issue info. Who can help me. Many thanks!

**Python environment:**  
python version: 2.7.5  
pysphere version: 0.1.7

**Playbook:**

---

<div class="post-metadata">

**Author:** ![Mehdi\_B](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Mehdi\_B](https://forum.ansible.com/u/Mehdi_B)\
**Post date:** [November 2, 2016, 10:26am UTC](https://forum.ansible.com/t/ansible-cant-clone-vm-through-pysphere-module/22939/2 "2016-11-02T10:26:11Z")

</div>

Pysphere looks dead

[https://github.com/argos83/pysphere](https://github.com/argos83/pysphere)

It’s no more maintained since over 3 years. You would better check vmware API

or

[https://github.com/vmware/pyvmomi](https://github.com/vmware/pyvmomi)

[https://developercenter.vmware.com/web/sdk/60/vcloudsuite-python](https://developercenter.vmware.com/web/sdk/60/vcloudsuite-python)

Disclaimer: I didn’t use any.

M B

---

<div class="post-metadata">

**Author:** ![jian.li3hpe](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@jian.li3hpe](https://forum.ansible.com/u/jian.li3hpe)\
**Post date:** [November 21, 2016, 2:42am UTC](https://forum.ansible.com/t/ansible-cant-clone-vm-through-pysphere-module/22939/3 "2016-11-21T02:42:12Z")

</div>

Thanks M B very much. I will follow your suggestion and try again. Any response, will update you.
