Modules are the main building blocks of Ansible playbooks. Although we do not generally speak of “module plugins”, a module is a type of plugin. For a developer-focused description of the differences between modules and other plugins, see Modules and plugins: what is the difference?.
You can enable a custom module by dropping it into one of these locations:
any directory added to the
ANSIBLE_LIBRARYenvironment variable (
$ANSIBLE_LIBRARYtakes a colon-separated list like
For more information on using local custom modules, see Adding a module or plugin outside of a collection.