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.