On the Ansible best practices page it lists a suggested directory structure - https://docs.ansible.com/ansible/2.5/user_guide/playbooks_best_practices.html
I’ve only recently started using Ansible, and so far for this massive project I’m working on I’ve created a playbook directory - and within this I’ve created sub-folders. An example I’ve provided below.
.ansible
ansible.cfg
— inventory
– dev.yml
– test.yml
– prod.yml
— playbooks
— App1
— play.yml
— scripts
— vars
— files
— DomainController
— GIS
Why is it suggested to have all plays at the root (or within a single folder)? Is there anything wrong with the approach I’ve taken so the plays can be grouped by “project/purpose”?