Skip to content
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

consider adding "attributes" to collection content #197

Closed
briantist opened this issue Dec 16, 2021 · 0 comments · Fixed by #320
Closed

consider adding "attributes" to collection content #197

briantist opened this issue Dec 16, 2021 · 0 comments · Fixed by #320
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@briantist
Copy link
Collaborator

SUMMARY

Attributes show up in documentation, see: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/include_role_module.html#attributes

Attribs: https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/doc_fragments/action_common_attributes.py#L11

Use in docs fragments will crash ansible-doc on older versions of Ansible 2.9/-base/-core.

For plugins, could crash Asnible itself on those older versions (unsure), however, attributes do not appear to be very useful in plugins as almost all of them apply only to modules/actions.

However, collection-specific attribs may be possible, and those would become useful in plugins too; we could define various attributes related to Vault functionality perhaps.

It seems there's little documentation on this for now.

ISSUE TYPE
  • Feature Idea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant