You can have a directory underneath group_vars. Something like: group_vars/all/ + secret.yml + public.yml
Where secret.yml is vault encrypted. On Thu, Nov 13, 2014 at 2:51 PM, Jacob Weber <[email protected]> wrote: > I know we can have group_vars/all, which will apply to all hosts. But is > there a way to make a second group_vars file that will also apply to all > hosts? > > I ask because I'd like to have a Vault-encrypted vars file, in addition to > an unencrypted one. If it was only for a specific group X, I would create a > second group Y, with X as a child, and then create group_vars/X and > group_vars/Y. But I'm not sure if I can do this for a group that applies to > all hosts. > > Thanks. > > -- > 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/cb48e1f8-fac7-4e03-bee0-bcadc26b33da%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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/CAJQqANeofg%2BrxexiRfoqB4DUBXiF%3DMaB_Q-tOhU-dWZdvQZh%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
