ansible-mddoc is a package used to auto generate documentation for an ansible role and playbook.
git clone https://github.com/rUser75/ansible-mddoc.git
cd ansible-mddoc
pip3 install .
Call ansible-mddoc passing in the path to the role
ansible-mddoc <path_to_role>
See here for full documentation.
The idea for this project is based on (and includes some code from)
credit to them for their work:
- ansible-mdgen by Peter Murphy
- ansible-autodoc by Andres Bott