Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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](

Release History

This version
History Node


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
(4.2 kB) Copy SHA256 Hash SHA256
Wheel py2 Dec 4, 2015
(49.7 kB) Copy SHA256 Hash SHA256
Source None Dec 4, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting