https://github1s.com/jfreeland/ansible-structure makes the structure a bit 
easier to digest if you're not already a github1s user.

On Tuesday, June 8, 2021 at 2:19:32 PM UTC-7 Joey Freeland wrote:

> I'm very new to using ansible; please forgive my ignorance.
>
> I need to manage groups of machines that all look identical in their 
> "group."  For various reasons I cannot just use an instance template in my 
> cloud providers and some on-host bootstrap to configure the nodes when they 
> start.
>
> I have managed to get all of my variables to properly include by doing 
> something like https://github.com/jfreeland/ansible-structure.  Give it a 
> shot.
>
> This is not what other examples tend to look like.  I've spoken with a 
> couple peers who were surprised this worked and suggested not going this 
> route.
>
> For various reasons I have to use ansible 2.9 for now.  I don't see any 
> reason in 
> https://github.com/ansible/ansible/blob/v2.9.22/lib/ansible/inventory/group.py
>  
> why I wouldn't be able to do what I'm doing.
>
> Is this not 'supported'?
>
> Is this an anti-pattern?
>
> Can anyone recommend an alternative or more appropriate approach to deeply 
> nested group variable inheritance with as little repeating yourself as 
> practical?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/ec40643c-2469-4e67-aaeb-9276349bfda8n%40googlegroups.com.

Reply via email to