On 21. nov. 2016 16:38, 'Jeffrey Wen' via Ansible Project wrote:
> *Question*: What is the solution to not overfilling my top-level directory 
> with yml files? (Or is this normal?)

At you top level, create a directory called playbooks (or choose you
favorite name). Then you can run "ansible-playbook playbooks/site.yml".

Since Ansible look for roles relative too where the playbook is, you
need to set the "roles_path = ./roles" in your ansible.cfg.

The ansible.cfg can live in your top level directory.

-- 
Kai Stian Olstad

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bc85ec7b-9cf0-0a70-fd18-f887797dfbe4%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to