> Le 14/01/23 12:57, Serge van Ginderachter claviotta :
> > On 23 January 2014 12:04, Guillaume Subiron <
mae...@subiron.org> wrote:
> >
> > > Yes, that's exactly what I said, but this doesn't work as expected,
> > > because in the second file I can't reference objects that are created
> > > in the first.
> > >
> >
> > That's true. You'll need to look at the order in which the files are
> > parsed, and make sure you repeat certain references,
> >
> > It's enough to e.g. define an empty group, in the one file which is defined
> > with hosts in another, etc.
>
> I'm sorry but I don't think that information redundancy will simplify
> my inventory… This is really not a solution.
>
> Don't you think the expected behavior would be that all
> non-executables files in the inventory directory be concatenated
> before being read by lib/ansible/inventory/dir.py ?
>
> All the static files in the directory should be parsed as a unique
> inventory.