Thanks Brian, I'm not sure I quite follow. Are you saying that I should be
splitting my vars files up per-inventory? e.g.
production/
production.ini
host_vars/
group_vars/
webservers.yml
all.yml
development/
production.ini
host_vars/
group_vars/
webservers.yml
all.yml
If I do this then won't I have to duplicate my group_vars files across each
inventory folder? Is that considered Idiomatic usage? I'm asking as I've
tried to follow the best
practices<http://docs.ansible.com/playbooks_best_practices.html#how-to-arrange-inventory-stage-vs-production>page
for layout and I haven't noticed a layout that resembles your
suggestion.
Cheers.
On Friday, January 24, 2014 1:42:06 PM UTC, Brian Coca wrote:
>
> that is just an organizational issue host_vars and group_vars are relative
> to current inventory,
>
> inventory1/
> hosts
> group_vars/all
>
> inventory2/
> hosts
> group_vars/all
>
--
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].
For more options, visit https://groups.google.com/groups/opt_out.