I could not find anything in ansible-doc, the format itself suggests that there is a way
Thanks a lot
Felix Fontein
unread,
Oct 20, 2021, 9:58:07 AM10/20/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Hi,
this doesn't really answer your question (as it's producing
ReStructured Text and not MarkDown), but antsibull-docs
(https://github.com/ansible-community/antsibull/) also supports roles
(with role argument specs) next to plugins and modules.
Cheers,
Felix
Brian Coca
unread,
Nov 2, 2022, 10:03:05 AM11/2/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
`ansible-doc -t role --json <rolename>` will dump the info in JSON format, you can then use that with almost any templating engine to create a markdown formatted file.