I found this today:
http://www.geedew.com/setting-up-ansible-for-multiple-environment-deployments/
With the help provided here and this article I believe I completely grasp
the concept of group_vars/host_vars.
Thanks for the help, everyone.
On Tuesday, February 10, 2015 at 12:51:34 PM UTC-5, Mark Phillips wrote:
>
> Well worth looking at doing this with inventory and group_vars Chris -
> ideally you want to avoid embedding lots of {% if %} stuff in templates,
> because it makes it harder for people to follow what you're doing.
>
> Make the software do the work for you...
>
> http://docs.ansible.com/intro_inventory.html#group-variables
>
> On Tuesday, 10 February 2015 12:51:46 UTC, Chris Short wrote:
>>
>> I kinda get it? Maybe I'm not presenting this correctly or largely
>> enough. I need to deploy multiple configuration files (dozens) across
>> multiple environments. Configurations would likely not share many values.
>> For example:
>>
>> AppA
>> |_ConfigA - 7 different option/variable pairs
>> |_ConfigB - 4 different option/variable pairs
>> |_ConfigC - 12 different option/variable pairs
>>
>> AppB
>> |_ConfigD - 2 different option/variable pairs
>> |_ConfigE - 17 different option/variable pairs
>> |_ConfigF - 24 different option/variable pairs
>>
>> The list goes on and on. Also, some environments might have one
>> option/variable pair where others have multiples (dev lab moving on up
>> through production).
>>
>> Can anyone point me to an example of this? The documentation doesn't seem
>> to be helping me see this on a grander scale (or maybe I'm missing
>> something).
>>
>
--
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/770d2b02-54b2-478d-bda7-379523e9db5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.