@olivierlambert exactly!
Posts
-
RE: Ansible dynamic inventory and XO
@olivierlambert in Ansible we have to create a static file with groups and ip of vms to run owner playbooks.
My solution is a simple way to create this file using tags like groups and getting the ip automagically, like this:
[kub] #xo tag
192.168.1.152 #vm ip
192.168.1.42 #vm ip[worker]
192.168.1.152[2021.01]
192.168.1.152[XOA]
192.168.1.152[master]
192.168.1.4 -
RE: Ansible dynamic inventory and XO
@olivierlambert @kirovtome I have created a simple way to return the dynamic inventory to use on Ansible. https://github.com/luizhpriotto/xenorchestra_inventory
I think the https://github.com/vtsingaras/xenorchestra_inventory doesn't work anymore.
Thanks.