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.

Source Distribution

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

Uploaded Source

Built Distribution

ansible_roles_graph-0.1.0-py2-none-any.whl (4.2 kB view details)

Uploaded Python 2

File details

Details for the file ansible-roles-graph-0.1.0.tar.gz.

File metadata

File hashes

Hashes for ansible-roles-graph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b14538a2592216ae6c67ee09db215378335654a920d4c1c172d18137ef65a598
MD5 18d625f7da84a6d7bd3d147f9f2627b1
BLAKE2b-256 85766a9a3938b341b370dc5958327ba3b6e0254c8487f60d91a3f94d0d61f90e

See more details on using hashes here.

File details

Details for the file ansible_roles_graph-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for ansible_roles_graph-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 121775bef11388d53eb1955fed70397fe09846c6b44d9e34acae1f4a78e63832
MD5 b44df533bf5566b5e81d576d6bbd4b80
BLAKE2b-256 81225fb31d90fef3d18430aaf6cd7bdd047c81c78e8e20661bd58a116c37d37d

See more details on using hashes here.

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