Need help regarding Ansible Role/Playbooks documentation

13 views
Skip to first unread message

Rahul Kumar

unread,
Apr 14, 2020, 9:46:22 AM4/14/20
to ansible...@googlegroups.com
Hi Ansible Gurus,
I have many Ansible Roles and I want to document each and every variable of role with defaults values and their description and where they make sense?

Is there any better way of Documenting Ansible variables because in case roles have many variables it becomes very difficult for some one to document them manually in doc or pdf !

Regards
Rahul

Andrew Latham

unread,
Apr 15, 2020, 8:14:05 AM4/15/20
to ansible...@googlegroups.com
It is just YAML you can do something like https://pypi.org/project/sphinxcontrib-yaml/ and I am sure there are parsing rules that could address variables.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGH8rExZTbMUCB2GHRZNR4p3%3DXrQfTXhPfNk2kRpVt9_Av%2B8%3DA%40mail.gmail.com.


--
- Andrew "lathama" Latham -
Reply all
Reply to author
Forward
0 new messages