Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/grandchild/ansible-playtodoc

Some people don't want to see the light. This makes it easier to keep them quiet.
https://github.com/grandchild/ansible-playtodoc

ansible documentation markdown wiki

Last synced: 5 days ago
JSON representation

Some people don't want to see the light. This makes it easier to keep them quiet.

Awesome Lists containing this project

README

        

## Ansible Play➜Doc

Creates human-readable instructions from [Ansible](https://ansible.com) Playbooks.

Output formats:
* Wiki
* Markdown

### Usage
```
playtodoc [-h] [--version] [-b BASEDIR] [-f FORMAT] [-o FILENAME] [-l LIMIT] [-v] playbook.yml

Convert Ansible Playbooks to various Markup format for human consumption.

positional arguments:
playbook.yml

optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
-b BASEDIR, --basedir BASEDIR
Ansible base dir for playbooks, roles, vars, etc.
-f FORMAT, --format FORMAT
Output format, can be one of 'md', 'wiki'
-o FILENAME, --output FILENAME
Output filename
-l LIMIT, --limit LIMIT
Template and file inline character limit. Rendered
templates and files longer than this will be printed
into separate files and linked to. Defaults to 1000.
-v, --verbose Be more verbose
```

### Status

alpha, very rudimentary output.

Todo:
* more modules
* proper `with_*`-support
* more output formats

Not-Todo:
* all modules
* support for weird configurations and deep magic - standard playbooks & roles only