-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add option to define arbitrary annotations #785
Comments
That is correct, and I don't think we should allow adding user-defined ones. Maybe you can explain your use-case a bit more. In general, Ansible roles and collections should be self-explaining anyway, and the project was meant to be used to add some useful context that can be rendered out to an overview page. If you have pretty complex roles, writing a detailed documentation from scratch might be the better choice. |
Implementing #763 might help as well, but also doesn't allow arbitrary fields. |
I wanted to add another column that shows whether a variable is required or optional. While I could also add this information implicitly inside the variable name itself somehow, having a dedicated table that lists both required and optional vars with a column stating this respectively, seems like a good default. I understand that it is not feasible to add custom columns every now and then, also everyone might have a different opinion on naming etc. So allowing to specify them in an array in a custom template seems like a good solution? |
I'm fine to implement a |
It looks like the sub-types are hard-coded in
ansible-doctor/ansibledoctor/config.py
Line 37 in 080b317
In case I am right and it is not possible - would be a great feature :)
The text was updated successfully, but these errors were encountered: