34 Distributing Plugins
Plugins are loaded from both Python’s site_packages (those that ship with ansible) and a configured plugins directory, which defaults to /usr/share/ansible/plugins, in a subfolder for each plugin type:
* action_plugins
* lookup_plugins
* callback_plugins
* connection_plugins
* filter_plugins
* vars_pluginsTo change this path, edit the ansible configuration file.
In addition, plugins can be shipped in a subdirectory relative to a top-level playbook, in folders named the same as indicated above.
See also
模块相关
List of built-in modules
Python API
Learn about the Python API for task execution
开发动态的Inventory数据源
Learn about how to develop dynamic inventory sources
Developing Modules
Learn about how to write Ansible modules
The development mailing list
#ansible IRC chat channel
学员评价