aspiers / ansible-viz

Graph relationships between Ansible playbooks / roles / tasks / vars etc. via static analysis
Apache License 2.0
40 stars 6 forks source link

Support playbook-defined ansible.cfg #23

Open elaske opened 6 years ago

elaske commented 6 years ago

Similar to #22, if the playbook directory has an ansible.cfg file within it that specifies a roles_path variable, it will override the system ansible.cfg definition. As such, this should read that directory for roles.

Note: this is all assuming you don't just ls the directories and assume all of them are required.