Hello Jean-Christophe

I use Ansible for 1 year now, and in my experience:
- the multiple inheritance is absolutely to be avoided.
- you can make simple inheritance on several levels (a host is part of a 
group that is part of a group, etc.)
- when multiple inheritance is really needed, I create several inventories, 
with some groups used in both inventories, ans some other not. That way I 
can share some vars.

I don't know what is your final need, but I'm pretty sure you can achieve 
it otherway.

Regarding your specific needs, I would create a variable (ex: nom_groupe) 
in the differents groups, whose value would be overloaded.

Regards,

Fabrice Perko

-- 
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/3d12c1ff-e4ef-40bb-9b28-bc1ec4b3e3dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to