-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use modern role documentation #1235
Comments
an example can be found in sensu/sensu-go-ansible#289 |
@wbclark to raise his issues/concerns :) |
|
In https://github.com/theforeman/foreman-ansible-modules/tree/develop/roles/activation_keys#role-variables we have role variables sorted into sections:
It might be nice to have some metadata tag associated with each role variable so that they can be grouped under different headings in the documentation. I'll suggest this on the antsibull PR |
FWIW, I think the metadata structure comes from Ansible, not antsibull. |
SUMMARY
ansible-core 2.11 supports role argument specs (https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#role-argument-validation, https://steampunk.si/blog/ansible-role-argument-specification/)
and the surrounding tooling is now also getting support for that (ansible-community/antsibull-build#272, ansible-community/antsibull-changelog#55) which means we can better automate our documentation generation :)
ISSUE TYPE
The text was updated successfully, but these errors were encountered: