# rax: change meta on existing cloudserver?

**URL:** <https://forum.ansible.com/t/rax-change-meta-on-existing-cloudserver/15069>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [April 22, 2014, 10:30pm UTC](https://forum.ansible.com/t/rax-change-meta-on-existing-cloudserver/15069 "2014-04-22T22:30:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Casey](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@Mark\_Casey](https://forum.ansible.com/u/Mark_Casey)\
**Post date:** [April 22, 2014, 10:30pm UTC](https://forum.ansible.com/t/rax-change-meta-on-existing-cloudserver/15069/1 "2014-04-22T22:30:03Z")

</div>

Hello all,

Does the rax set of modules have a module parallel to the ec2\_tag module in AWS, or is there some way I should just re-call the rax module to change tags or groups of an existing host?

…and if I could sneak in a corollary: Can I list (/add/remove) more than one group within the rax module’s group parameter?

Apologies if I missed an existing example of this somewhere; I did take a look at the Detailed Guides, the module’s page and examples, and a few odds and ends I’d seen posted from rackers.

Thanks,  
Mark

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [April 22, 2014, 10:40pm UTC](https://forum.ansible.com/t/rax-change-meta-on-existing-cloudserver/15069/2 "2014-04-22T22:40:16Z")

</div>

There is not currently a way to change meta on an existing server. It is on my to-do list to add a rax\_meta module, but haven’t gotten around to it yet.

You would have to manually manipulate meta via the API outside of Ansible currently.

If you want to support more than 1 group with the rax module, you would utilize the ‘groups’ meta key such as:

- rax:  
name: foo  
image: bar  
flavor: 2  
group: primary\_group  
meta:  
groups: ‘group\_two,group\_three’  
etc…

The newer rax.py inventory script that is in devel right now, can handle the extra ‘groups’ meta key. Note that it’s value right now has to be a comma separated list, not an actual YAML list (this will likely change in the future, and the rax module will just coerce an actual list to the joined CSV string.

---

<div class="post-metadata">

**Author:** ![Mark\_Casey](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@Mark\_Casey](https://forum.ansible.com/u/Mark_Casey)\
**Post date:** [April 22, 2014, 11:44pm UTC](https://forum.ansible.com/t/rax-change-meta-on-existing-cloudserver/15069/3 "2014-04-22T23:44:13Z")

</div>

Great. Thanks for the info and efforts on these modules.

Mark
