# Implementation question

**URL:** <https://forum.ansible.com/t/implementation-question/21071>\
**Category:** Ansible Project\
**Created:** [April 5, 2016, 6:51pm UTC](https://forum.ansible.com/t/implementation-question/21071 "2016-04-05T18:51:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhalano](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mhalano/32/1815_2.png) [@mhalano](https://forum.ansible.com/u/mhalano)\
**Post date:** [April 5, 2016, 6:51pm UTC](https://forum.ansible.com/t/implementation-question/21071/1 "2016-04-05T18:51:04Z")

</div>

Hi fellows!

I’m a relatively new on Ansible. I can write some code, but I don’t know how to do some things in the best possible way. So what’s why I’m asking for help.  
First, a little of contextualization: I’m working in my college on a project about personal health records. The idea is create a system on a private cloud to store this records. This cloud is based on OpenStack but for tests I would like use KVM (but I can use LXC as well).  
There will be just one virtual machine image for all types of machines (databases, message queues, load balancers, etc.) and each type of machine will receive specific customizations (like package installation) from Ansible.  
So after boot up a minimum machine it will become different for each task.  
My problem is: How could I deploy this machines? I would like each machine has a identifier (to specific the type of machine and instance number) and inventory was feeded by OpenStack.

Thanks and if you have any question I would love to answer.

Cheers.

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [April 6, 2016, 7:03am UTC](https://forum.ansible.com/t/implementation-question/21071/2 "2016-04-06T07:03:21Z")

</div>

Sounds like you probably need to use inventory groups.

See [http://docs.ansible.com/ansible/intro\_inventory.html](http://docs.ansible.com/ansible/intro_inventory.html)

You might need to use groups with dynamic inventory

[http://docs.ansible.com/ansible/intro\_dynamic\_inventory.html#static-groups-of-dynamic-groups](http://docs.ansible.com/ansible/intro_dynamic_inventory.html#static-groups-of-dynamic-groups)

HTH

Jon
