Re: [ansible-project] where to manage common inventory properties

2014-11-17 Thread Michael DeHaan
I like using group_vars and host_vars for these things, though it should be noted it's a good idea to keep your production and dev inventory in different files, to avoid the chance of doing "-i inventory.ini" against the all group and managing them simultaneously. On Fri, Nov 14, 2014 at 4:18 AM

Re: [ansible-project] where to manage common inventory properties

2014-11-14 Thread Tomasz Kontusz
You can get common group_vars, by either using directory per group + symlinks, or putting group_vars next to playbook (they would be loaded in addition to those next to inventory). The second one used to have problems with vars for the same group defined in both places, but you can work around

[ansible-project] where to manage common inventory properties

2014-11-13 Thread Torsten Reinhard
Hi all, we started to create our inventory and in the beginning we were just fine with the host_vars and group_vars option to place our properties. Now, for some configuration we have almost the same settings on DEV, TEST and PROD environment and I´m think about where to put them. Of course, I