Understanding the Different Types of Plugins
Ansible provides the option to create numerous types of plugins. Each plugin type interacts with the Ansible system in a different way. In this section, we will be looking at the different types of plugins available within the Ansible plugin architecture and discover how to code them. The different types of plugins available are as follows:
- Action plugins
- Callback plugins
- Connection plugins
- Lookup plugins
- Vars plugins
- Filter plugins
- Test plugins
In the coming sections, we will take a look at how to code each plugin type and what they are capable of. Let's get started.
Action plugins
In this section, we will take a look at action plugins and you will learn what action plugins do and some basic code examples on how to create new actions that are available within the Ansible subsystems. In Ansible, action_plugins
are a special type of module that provide additional functionality to an existing module. As we mentioned earlier, action_plugins
run on the master...