Hi All,
I am trying to use the nova.py script provided as a jumping off point for 
using OpenStack as a dynamic inventory repository.I am experiencing a 
problem where the script does not work if I use the hostname (claims there 
is no host by that name). It works fine if I use the IP address. In fact, 
if I modify the nova.py script to return the JSON associated with a 
particular hostname, Ansible still claims that "No hosts matched".

I guess I don't understand what Ansible is using in the JSON to key on for 
the hostname. I am using version 1.3.3.

At least looking at the EC2 example, I see a hostname specified:

*ansible -i ec2.py -u ubuntu us-east-1d -m ping*

This looks like its logging in as the user ubuntu to the host us-east-1d. I 
am looking for the same behavior in an OpenStack environment.

Albion


-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to