[ansible-project] Defining variables and save them as json file.

2014-07-24 Thread Marcin Prączko
Hi, I struggle with some issue with variables definition which I am not totally understand and can't find help in ansible docs. I am trying to have nice variables structure and save it as json file (re-use as local facts). So I have *groups_vars* file: g_core_vars: version : 0.1.0

Re: [ansible-project] Defining variables and save them as json file.

2014-07-24 Thread Michael DeHaan
If you have variables defined centrally, use them via vars_files, group_vars, or whatever, and you don't need to copy them to local facts *at all*. Local facts are there for when an administrator wants to make the mortals who use a system be able to configure it basically. (Or it's a shortcut to