Skip to main content

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

Release files for ansible-roles-graph 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ansible-roles-graph 0.1.0
File Size Uploaded
ansible-roles-graph-0.1.0.tar.gz 49.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ansible-roles-graph 0.1.0
File Interpreter ABI Platform
ansible_roles_graph-0.1.0-py2-none-any.whl Python 2 none any Details

Total release size: 53.9 kB

Release files / ansible-roles-graph-0.1.0.tar.gz

Download URL ansible-roles-graph-0.1.0.tar.gz
Size 49.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b14538a2592216ae6c67ee09db215378335654a920d4c1c172d18137ef65a598
BLAKE2b-256 checksum
How to use checksums
85766a9a3938b341b370dc5958327ba3b6e0254c8487f60d91a3f94d0d61f90e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ansible_roles_graph-0.1.0-py2-none-any.whl

Download URL ansible_roles_graph-0.1.0-py2-none-any.whl
Size 4.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
121775bef11388d53eb1955fed70397fe09846c6b44d9e34acae1f4a78e63832
BLAKE2b-256 checksum
How to use checksums
81225fb31d90fef3d18430aaf6cd7bdd047c81c78e8e20661bd58a116c37d37d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page