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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ansible-roles-graph-0.1.0.tar.gz
.
File metadata
- Download URL: ansible-roles-graph-0.1.0.tar.gz
- Upload date:
- Size: 49.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14538a2592216ae6c67ee09db215378335654a920d4c1c172d18137ef65a598 |
|
MD5 | 18d625f7da84a6d7bd3d147f9f2627b1 |
|
BLAKE2b-256 | 85766a9a3938b341b370dc5958327ba3b6e0254c8487f60d91a3f94d0d61f90e |
File details
Details for the file ansible_roles_graph-0.1.0-py2-none-any.whl
.
File metadata
- Download URL: ansible_roles_graph-0.1.0-py2-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 121775bef11388d53eb1955fed70397fe09846c6b44d9e34acae1f4a78e63832 |
|
MD5 | b44df533bf5566b5e81d576d6bbd4b80 |
|
BLAKE2b-256 | 81225fb31d90fef3d18430aaf6cd7bdd047c81c78e8e20661bd58a116c37d37d |