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?

http://docs.ansible.com/ansible/intro_dynamic_inventory.html#example-openstack-external-inventory-script

$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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b079ff71-d794-458e-9bb0-1989f9346c2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to