Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rwxd/ansible2puml
Create an PlantUML Activity Diagram from Playbooks or Roles trough Python.
https://github.com/rwxd/ansible2puml
ansible plantuml plantuml-generator python
Last synced: 6 days ago
JSON representation
Create an PlantUML Activity Diagram from Playbooks or Roles trough Python.
- Host: GitHub
- URL: https://github.com/rwxd/ansible2puml
- Owner: rwxd
- License: mit
- Created: 2020-07-30T10:40:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-06T08:04:35.000Z (almost 3 years ago)
- Last Synced: 2024-10-07T21:08:28.301Z (about 1 month ago)
- Topics: ansible, plantuml, plantuml-generator, python
- Language: Python
- Homepage:
- Size: 237 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## !!! It's pretty crappy, I wouldn't use it in this condition. Someday I'll rebuild the whole thing :) !!!
# ansible2puml
![tests](https://github.com/ProfileID/ansible2puml/workflows/tests/badge.svg)
[![PyPI package](https://img.shields.io/pypi/v/ansible2puml)](https://pypi.python.org/pypi/ansible2puml/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/ansible2puml.svg)](https://pypi.python.org/pypi/ansible2puml/)## About ansible2puml
Create an PlantUML activity diagram from playbooks and roles trough python.A .puml file with the PlantUML syntax is generated and a link to display the diagram as PNG is generated.
## Requirements
Python version >3.6## Install package
Install via pypi
```bash
pip install ansible2puml
```Install via git
```bash
pip install git+https://github.com/ProfileID/ansible2puml
```## How to
### Playbook
```
ansible2puml --source play.yml --destination play.puml
```## Example
[![Example](./example/example-diagram.png)](./example/example-playbook.yml)
**Source: [example-playbook.yml](./example/example-playbook.yml)**