[us-west-2][us_west_2:children]us-west-2 - debug: msg="{{ hostvars[item].ec2_private_ip_address }}" with_items: groups.us_west_2...
"us-west-2": [ "54.213.157.131", "54.191.215.128", "54.186.93.200", "54.186.40.39" ], ...> On Thursday, April 21, 2016 at 10:27:54 AM UTC+3, Tzach Livyatan wrote:
>> As part of it, I'm defining extra groups in file inventories/ec2/hosts,
>> for example:
>> [us-west-2]
>> [us_west_2:children]
>> us-west-2
Is there a typo? Or are you using the group name as child element for
another group? us-west-2 vs. us_west_2
>> Look like Ansible 2 does not use the groups defined in
>> inventories/ec2/hosts.
What are the exact error messages? Maybe include some more debug tasks
to output the values.
You had a debug task in your mail, what was the output and was did you
expect to get?
Johannes
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/qTKRXIWQRow/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5745AAF1.9090801%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.