Re: [ansible-project] Generate docs from ansible argspec

2022-11-02 Thread Brian Coca
`ansible-doc -t role --json ` will dump the info in JSON format, you can then use that with almost any templating engine to create a markdown formatted file. > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this grou

Re: [ansible-project] Generate docs from ansible argspec

2021-10-20 Thread 'Felix Fontein' via Ansible Project
Hi, > Is there any way to generate a markdown documentation from ansible > role argument spec? > > https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#role-argument-validation > > I could not find anything in ansible-doc, the format itself suggests > that there is a way

[ansible-project] Generate docs from ansible argspec

2021-10-18 Thread ProfHase
Is there any way to generate a markdown documentation from ansible role argument spec? https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#role-argument-validation I could not find anything in ansible-doc, the format itself suggests that there is a way Thanks a lo