Giovanni Tirloni
unread,May 1, 2015, 11:46:23 AM5/1/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Hi,
I would like to keep my playbooks all in a single directory like this:
/path/playbooks
/path/roles
/path/group_vars
/path/host_vars
...
I can make it work partially by setting roles_path in ansible.cfg.
However, group_vars and host_vars are not used.
Is there a way tell Ansible where it should look for group_vars and
host_vars without over-complicating my playbooks?
If not, would it make sense to have a group_vars_path and
host_vars_path options in ansible.cfg? Or maybe a parent_path option to
tell it where to look for things (instead of in the playbook's $PWD)?
Thanks,
Giovanni