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](http://www.graphviz.org/) with [python bindings](http://www.graphviz.org/content/python-graphviz).

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

## License

[GNU GPLv3 or later](https://www.gnu.org/licenses/gpl.html)

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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page