Skip to main content

Generate a graph of Ansible role dependencies.

Project description

# 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:


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](./example.png)

## License

[GNU GPLv3 or later](

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ansible-roles-graph, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size ansible_roles_graph-0.1.0-py2-none-any.whl (4.2 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size ansible-roles-graph-0.1.0.tar.gz (49.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page