Brian, I found another way to do this and I'll post my solution shortly. I
think your solution will work too but my solution allows me to keep
tier-specific variables in their own separate files. While one could argue
that it would be simpler to maintain them if they were all in one file, I
kind of like keeping them in separate files. Thanks for your help.
On Friday, April 29, 2016 at 10:30:20 AM UTC-7, Brian Coca wrote:
>
> just thought, you dont even need a variable, just the built in for
> inventory:
>
> tier: '{{inventory_path|basename}}'
>
>
> ----------
> Brian Coca
>
--
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/d208c2f1-e222-44e8-bb07-a719467d8990%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.