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.

Source Distribution

ansible-roles-graph-0.1.0.tar.gz (49.7 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page