Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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