I'm facing a similar problem and the way I'm looking at solving it is
dynamic inventories. I've also considered using multiple inventories +
symlinks (nto sure that works tho). See:
http://docs.ansible.com/ansible/intro_dynamic_inventory.html#using-inventory-directories-and-multiple-inventory-sources

I have all my hosts in an external data source, tagged, so I could easily
have multiple tags to include hosts in different inventories and then
generate them at runtime. This way management is as simple as adding an
entry to the hosts table and one or more tags in the tags column.

hope that helps,

Spike

On Thu, Mar 9, 2017 at 12:01 AM David Lane <[email protected]>
wrote:

> Hi,
>
> I've inherited a complex deployment system which is steadily getting more
> complex. This is fine, except we also have multiple instances of this
> system (several variants of Production and Dev plus many, many developer
> instances).
>
> Currently all of our inventory files are long, very similar files with one
> or two things tweaked appropriately. This makes maintenance a nightmare
> where for every time I need to modify a feature, add a variable or remove
> something I have to manually edit upwards of ten non-trivial inventories.
>
> Has anyone been in this sort of situation before?
>
> Sorry for the lack of detail, I'm at the state where I've wondered around
> poking various ideas for long enough that I haven't really got a clear
> direction and my brain's gone fuzzy.
>
> Cheers,
>
> David
>
> --
> 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/ff9183b3-f019-4c3e-98b0-e3231cf88ad6%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/ff9183b3-f019-4c3e-98b0-e3231cf88ad6%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/CAPE6YbSUw1%3DvTJzbq61ju2f6Q277PtGMTKkWAccxd5TWwgtkVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to