Hi all. I know if put static and dynamic inventory files in the same 
directory ansible uses both. But I couldnt  include group name from ec2.py 
in hosts.aws as children. It ignores it. Ie as:

[mytest:children]
type_m1_large 
tag_kafkaproducer_yes

Yaml file doesnt return the list of hosts if I use it that way. I also 
created sc2.sh script which joins static hosts.aws file in json format to 
the ec2.py output. But it doesnt work as well.
I want to use the same playbooks in both colocation and AWS without 
changing group names and assigning extra tags to the  AWS instances. Is 
there any approach to implement what I need?

-- 
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/67e2cf9c-d58c-4869-8e7e-2d4a7d7adb39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to