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


Release history Release notifications

This version
History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ansible_roles_graph-0.1.0-py2-none-any.whl (4.2 kB) Copy SHA256 hash SHA256 Wheel py2 Dec 4, 2015
ansible-roles-graph-0.1.0.tar.gz (49.7 kB) Copy SHA256 hash SHA256 Source None Dec 4, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page