# vsphere\_copy fails on Tuple value invalid

**URL:** <https://forum.ansible.com/t/vsphere-copy-fails-on-tuple-value-invalid/27786>\
**Category:** Ansible Project\
**Tags:** rhel\
**Created:** [June 12, 2018, 7:32pm UTC](https://forum.ansible.com/t/vsphere-copy-fails-on-tuple-value-invalid/27786 "2018-06-12T19:32:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wendell\_MacKenzie](https://avatars.discourse-cdn.com/v4/letter/w/c77e96/32.png) [@Wendell\_MacKenzie](https://forum.ansible.com/u/Wendell_MacKenzie)\
**Post date:** [June 12, 2018, 7:32pm UTC](https://forum.ansible.com/t/vsphere-copy-fails-on-tuple-value-invalid/27786/1 "2018-06-12T19:32:44Z")

</div>

Trying to send a kickstart.iso file up the a vcenter host. Using Ansible 2.5.4 with PyVmomi plugin 6.7 on rhel 7.5.

The ansible playbook is configured with a task that defines the path: and src: values but it’s complaining about the  
path I presume as the src value is correct.

The var definition for path: is as follows:

path: “[emc\_disk\_path] iso”

The docs in Ansible for this module indicate path and src to be the same thing. A bit confusing. Can someone  
clarify them pls & thx.

---

<div class="post-metadata">

**Author:** ![Wendell\_MacKenzie](https://avatars.discourse-cdn.com/v4/letter/w/c77e96/32.png) [@Wendell\_MacKenzie](https://forum.ansible.com/u/Wendell_MacKenzie)\
**Post date:** [June 14, 2018, 1:04am UTC](https://forum.ansible.com/t/vsphere-copy-fails-on-tuple-value-invalid/27786/2 "2018-06-14T01:04:33Z")

</div>

suggestion to comment out the try: catch exception block after open\_url() proved helpful. Error was HTTP 401 Unauthorized.  
user being used to authenticate had insufficient privs to perform PUT operation.
