# how to tag in vmware?

**URL:** <https://forum.ansible.com/t/how-to-tag-in-vmware/20181>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [January 12, 2016, 5:03pm UTC](https://forum.ansible.com/t/how-to-tag-in-vmware/20181 "2016-01-12T17:03:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kesten\_Broughton2](https://avatars.discourse-cdn.com/v4/letter/k/ecc23a/32.png) [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Post date:** [January 12, 2016, 5:03pm UTC](https://forum.ansible.com/t/how-to-tag-in-vmware/20181/1 "2016-01-12T17:03:24Z")

</div>

There’s a ton of new modules for vmware which is great!  
[http://docs.ansible.com/ansible/list\_of\_cloud\_modules.html](http://docs.ansible.com/ansible/list_of_cloud_modules.html)

However, one of the core features we rely on is tagging (like ec2\_tag).

It looks like it should be possible according to chapter7 [here](http://pubs.vmware.com/vsphere-51/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-51-host-management-guide.pdf)  
Has anyone seen tagging support for vmware?

If not, i may take a crack at vmware\_tags which would handle tagging anything that  
has an id or other unique identifier.

kesten

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [January 12, 2016, 7:42pm UTC](https://forum.ansible.com/t/how-to-tag-in-vmware/20181/2 "2016-01-12T19:42:44Z")

</div>

Indeed, there’s tagging support… You need to use web client, not the .Net one Regards, JYL

---

<div class="post-metadata">

**Author:** ![mtward](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mtward/32/307_2.png) [@mtward](https://forum.ansible.com/u/mtward)\
**Post date:** [February 26, 2016, 3:56pm UTC](https://forum.ansible.com/t/how-to-tag-in-vmware/20181/3 "2016-02-26T15:56:51Z")

</div>

Please post if you do this, it would be hugely useful. It is my understanding that the vsphere api makes it difficult/impossible to work with tags in ESX 5.x, but pretty easy in ESX 6.x.
