Reputation: 364
Hey guy's working my way through Ansibles guide but I can't find where group_var is located on the system, or where it should be nested if I need to create it. Any ideas?
Upvotes: 1
Views: 728
Reputation: 59979
group_vars
can be located parallel to your playbook AND parallel to your inventory. This can, but is not required to be the same.
Upvotes: 1
Reputation: 5041
Generally, it's created at the top level of your playbook directory. According to Ansible best practices, create the directory at the same level as your playbooks and roles directory.
Upvotes: 1