Le 14/01/23 14:23, Guillaume Subiron claviotta : > Le 14/01/23 12:57, Serge van Ginderachter claviotta : > > On 23 January 2014 12:04, Guillaume Subiron <[email protected]> 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.
I made a pull request : https://github.com/ansible/ansible/pull/5735 -- Guillaume Subiron Mail - [email protected] GPG - 5BC2 EADB Jabber - [email protected] IRC - maethor@(freenode|geeknode) -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
