There is some desire from content creators to create “hidden” plugins, modules, or roles in a collection that are only for internal usage in that collection, and shall not show up in any documentation (including ansible-doc --list
).
There was a discussion on this in the original community-topics repository (How to mark private plugins in a collection (with a proposal and implementation) · Issue #154 · ansible-community/community-topics · GitHub), but it never concluded so far. Core team seems to be opposed to this in general.
One approach would be to use another file, like meta/extra.yml
or something like that (see How to mark private plugins in a collection (with a proposal and implementation) · Issue #154 · ansible-community/community-topics · GitHub, How to mark private plugins in a collection (with a proposal and implementation) · Issue #154 · ansible-community/community-topics · GitHub) to allow other actors than Core to store metadata on plugins (or the collection in general). I think that is worth discussing, also to include potential other metadata for other tools.
I’m creating this thread so we have a place to continue this discussion.