sinisterrook
sinisterrook

Reputation: 364

Where is ansible's group_var/ folder located?

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

Answers (2)

udondan
udondan

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

Brian Knight
Brian Knight

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

Related Questions