Yes, that I've alredy figured out. But what if I want to group my playbooks inside different folders but the group and host vars
should be the same? Is there an option to tell Ansible where to look for those folders?
I imagine a dir tree like:
.
├── group_vars
│ ├── group1.yaml
│ └── group2.yaml
├── host_vars
│ ├── host1.yaml
│ ├── host2.yaml
│ └── localhost.yaml
├── group1-playbooks
│ ├── 00-requirements.yaml
│ ├── 01-copy-static-files.yaml
│ └── 99-cleanup.yaml
├── group2-playbooks
│ ├── 00-requirements.yaml
│ ├── 01-copy-static-files.yaml
│ └── 99-cleanup.yaml
└── inventory
Regards,
Uwe