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

Sent from my iPhone

> On Jul 24, 2019, at 12:58 AM, Михаил Политаев <nisyar...@gmail.com> wrote:
> 
> 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.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/9e08d2e6-0548-4339-8589-2dc45e29f48c%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/B07D4503-7098-4734-98FD-110529BD86B9%40gmail.com.

Reply via email to