we can change the path of roles by modifying roles_path
in ansible.cfg
.
But the document doesn't seems to mention anything about changing the path of group_vars
and host_vars
.
How can I change those paths?
I will integrate the files related to ansible with rails app repsitory.
I want to gather the roles and vars directory under single directory but leave hosts file and ansible.cfg at the top directory so that the top directory is easy to see and still I can run ansible-playbook
at the top directory without moving to deep directory.
Thanks, in advance.