Directory to store ansible's playbooks

Hello team!

Read the documentation and didn’t find where playbooks ansible should be store only advice that they should be under source control.

I see /etc/ansible/roles directory installed by default. Is it mean that here should be /etc/ansible/playbooks? Or I can store playbook anywhere /opt/ansible, for example?

Are playbooks during the execution expect that they are will running from /etc/ansible and not any other dir?

Thank you for clarification.

Your collection of playbooks, roles, etc can live anywhere on the filesystem you want. Yes, ansible has conventions on specific places on the filesystem it will check, however I think most house their collection where it makes sense for the operators and/or processes they have.

Rather than an absolute path, I would focus on the various relative paths that ansible supports for locating content as you leverage ansible for your needs.

Here’s some additional docs worth reading:

https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#id11
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#id12

Thanks for answer! That is what I want to hear, to confirm that I am thinking in a right direction.