If you're dealing with any significant number of hosts (ie. more than a
hundred), we generally recommend using a dynamic inventory script of some
kind. Beyond that, the INI syntax doesn't really allow for any includes
unfortunately.


On Tue, Jun 3, 2014 at 8:20 PM, Michael Mahemoff <[email protected]>
wrote:

> As I have separate "staging" and "production" inventory files, I end up
> duplicating some group compositions (e.g. databases:children is
> mysql:children and redis:children, that kind of thing). I'm wondering if
> there's a way to consolidate that logic, such as a directive to include a
> file. Or maybe some trick I'm missing here.
>
> --
> 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/bbe12ef1-69ea-4e65-9a6e-0359246cc017%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/bbe12ef1-69ea-4e65-9a6e-0359246cc017%40googlegroups.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/CAMFyvFh0G%3DqC6%3DnoKTShYEgKUCBsTVtO%2BLefRmT5_qQhh1yVKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to