ansible-playbook-grapher
ansible-playbook-grapher copied to clipboard
[Feature request] Add support for role dependencies
It would be great if the graph would include role dependencies (from meta/main.yml of each roles, including the one imported from ansible Galaxy)
It would be great if the graph would include role dependencies (from meta/main.yml of each roles, including the one imported from ansible Galaxy)
I would like to include on the request the include_role directive inside the tasks. Regards
Will see if I can fetch the role dependencies when reading the playbook.
@jordibass I post a this comment regarding the include_role directive.
@haidaraM the include_role is an incredibly common case when including tasks from roles, is there a way to workaround this in order to not append the tasks of the role as mere "tasks" instead splitting them in their corresponding roles?
@ccamacho Will see if I can find a way to manage include_role
as a classic role. Just marked #22 as feature requests
@ccamacho @jordibass The behavior of include_role
have been changed. See my comment: https://github.com/haidaraM/ansible-playbook-grapher/issues/22#issuecomment-920357882
After reviewing, it's already supported by the grapher. I added a test case for it. Feel free to comment or create a new issue if you have some use cases that are not supported.