I decided to just edit ec2.py to create the groups I wanted. Good to know about the empty group trick though!
Thanks, Brian On Sep 25, 2014, at 6:33 PM, Timothy Gerla <[email protected]> wrote: > And apparently as discussed earlier in this thread, creating a static > inventory file referencing a dynamic group as a 'child' doesn't work. > > <snip> > ERROR: child group is not defined: (tag_Type_Web) > The example given previously is just a more complicated version of this. > > It's actually possible to do this easily enough if you also define the tag_Type child groups in the static inventory as well: # inventory/production [tag_Type_Web] [tag_Type_Db] [web:children] tag_Type_Web [production:children] tag_Type_Web tag_Type_Db -Tim -- Tim Gerla [email protected] -- 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/Ohx3KEYwZdw/unsubscribe. To unsubscribe from this group and all its topics, 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/CAH4wdVXQhe8Lw0oEkp69nkV9EJeHxKgpmJet4gFvY8R2dcjgaQ%40mail.gmail.com <https://groups.google.com/d/msgid/ansible-project/CAH4wdVXQhe8Lw0oEkp69nkV9EJeHxKgpmJet4gFvY8R2dcjgaQ%40mail.gmail.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- 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/-254506346312485589%40unknownmsgid. For more options, visit https://groups.google.com/d/optout.
