Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 705 Bytes

README.md

File metadata and controls

32 lines (17 loc) · 705 Bytes

ansible-roles-graph

Generate a graph of Ansible role dependencies.

Install

pip install ansible-roles-graph

Assuming you already installed graphviz with python bindings.

Usage

Quite simply:

ansible-roles-graph

Will look for roles in the ./roles/ directory, and generate an ./ansible-roles.png file.

The command also accepts multiple role directories and various options:

ansible-roles-graph -o schema.png -f png roles/ ../other/roles

See ansible-roles-graph --help for more info.

Output

PNG example

License

GNU GPLv3 or later