Module utilities

Module utilities contain shared code used by multiple plugins. You can write custom module utilities.

Enabling module utilities

You can add a custom module utility by dropping it into a module_utils directory adjacent to your collection or role, just like any other plugin.

Using module utilities

For information on using module utilities, see Using and developing module utilities.

See also

Developing modules

An introduction to creating Ansible modules

Developing collections

A guide to creating Ansible collections

User Mailing List

Have a question? Stop by the Google group!

irc.libera.chat

#ansible-devel IRC chat channel