跳转到主要内容

Docs fragments

Docs fragments allow you to document common parameters of multiple plugins or modules in a single place.

Enabling docs fragments

You can add a custom docs fragment by dropping it into a doc_fragments directory adjacent to your collection or role, just like any other plugin.

Using docs fragments

Only collection developers and maintainers use docs fragments. For more information on using docs fragments, see module_docs_fragments or docfragments_collections.

developing_modules_general
An introduction to creating Ansible modules

developing_collections
A guide to creating Ansible collections

Communication<communication>
Got questions? Need help? Want to share your ideas? Visit the Ansible communication guide