Thanks. Initially, I did have all machines in my dev inventory a part of a "dev" group but I was getting the same error using that approach. I thought it should work too but it didn't for some reason. But your idea on making each var a composite is interesting so I'm going to give it a try.
On Friday, April 29, 2016 at 10:06:45 AM UTC-7, Brian Coca wrote: > > There are several ways. > > Make all machines in the development inventory part of the development > group, same with other 'tier's, then you can have 'tier vars'. > > make each var a composite: > > libffi: > dev: 3.1-2+b2 > qa: 3.0-1 > prod: 3.0-1 > > Then have the 'tier' var defined by inventory file (under all:vars), then > always acceiss this way: libffi[tier] > > > That should be enough to give you an idea. > > ---------- > 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/c25869e1-01d0-41d6-83be-2918bb02b151%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
