# Standalone ESXI with Vmware (Evaluation Version ESXI)

**URL:** <https://forum.ansible.com/t/standalone-esxi-with-vmware-evaluation-version-esxi/28515>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [September 6, 2018, 12:00pm UTC](https://forum.ansible.com/t/standalone-esxi-with-vmware-evaluation-version-esxi/28515 "2018-09-06T12:00:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bishwajit\_Samanta](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Post date:** [September 6, 2018, 12:00pm UTC](https://forum.ansible.com/t/standalone-esxi-with-vmware-evaluation-version-esxi/28515/1 "2018-09-06T12:00:20Z")

</div>

Dear Team,

I want to Run some shell commands in Vmware through Ansible. But i am facing Some errors. If possible can you help me.

- name: Run command inside a vm  
vmware\_vm\_shell:  
hostname: 192.168.119.129  
username: xxxxx  
password: xxxxxx  
datacenter: vntgautvol-64.localdomain  
folder: /ha-datacenter/vm  
vm\_id: Test  
vm\_username: xxxxx  
vm\_password: xxxxxx  
vm\_shell: /bin/echo  
vm\_shell\_args: " $var \>\> myFile "  
vm\_shell\_env:
- “PATH=/bin”
- “VAR=test”  
vm\_shell\_cwd: “/tmp”  
validate\_certs: no

when i am running this, it is saying unable to find datacenter. But when i am running vmware\_guest\_facts module i am not facing any issue regarding Datacenter.

Mine is Evaluation Version, Below script is working with the same datacenter

---

<div class="post-metadata">

**Author:** ![Bishwajit\_Samanta](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Post date:** [September 8, 2018, 5:36pm UTC](https://forum.ansible.com/t/standalone-esxi-with-vmware-evaluation-version-esxi/28515/2 "2018-09-08T17:36:47Z")

</div>

Any help ?
