Hi All,
I tried setting multiple group names using nova meta tag as below but couldn’t get that working using openstack.py dynamic inventory script for openstack. Can you please suggest?
$nova meta hostname set "group=mesos_masters"
$ansible -i inventory/openstack.py mesos_masters -m ping
b9d2e61e | SUCCESS => {
"changed": false,
"ping": "pong"
}
$nova meta hostname set "group=mesos_masters,consul_bootstrap"
$ansible -i inventory/openstack.py mesos_masters -m ping
[WARNING]: provided hosts list is empty, only localhost is available
##### STEPS TO REPRODUCE
<!---
see above
-->
##### EXPECTED RESULTS
Should be able to run the playbook fetching the list of hosts
##### ACTUAL RESULTS
: provided hosts list is empty, only localhost is available
Please suggest. Thanks.
Thanks,
Govind