Thanks so much Kai, I’ve been eagerly searching these next few moments and found out it’s really nowhere, but good came out of that and I realized I can do a “dynamic inventory” and pass it on as “.py” to -i option of ansible!!! (http://docs.ansible.com/ansible/latest/intro_dynamic_inventory.html)
I will try that from the docs and see how it goes: "
ansible -i openstack.py all -m ping"
this could save my day and add some fun to my inventories.
Thank you for your prompt answer.
Ansible has hosts and tasks as the primary objects, groups are only
used in inventory to allow for host selection and convenient variable
assignment. Once we start task execution, they are just 'labels'
associated with a host, the variable `group_names` contains all the
groups of the current host.
Also, hosts are always at least part of 2 groups, one of them being
'all' (implicit localhost being the exception).