Metadata-Version: 2.1
Name: ansible2puml
Version: 0.3.1
Summary: Create an PlantUML Activity Diagram from Playbooks or Roles trough Python.
Home-page: https://github.com/ProfileID/ansible2puml
Author: profileid
Author-email: profileid@protonmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
Requires-Dist: click
Requires-Dist: pyyaml
Requires-Dist: jinja2
Requires-Dist: plantuml
Requires-Dist: six

# 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/)
[![PyPI license](https://img.shields.io/pypi/l/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)**


