Using base Ansible inventory plugins
Inventory plugins are Python scripts that can be utilized by both the ansible-navigator
Ansible command line and the Automation controller. This section will cover existing popular inventory plugins. There are a few inventory sources that are built into the Automation controller that do not work like other plugins, such as the AWS inventory source. These will be discussed in the following Using built-in automation controller inventory plugins section.
Plugins have the following sources:
- Pre-installed with Ansible
- Collections
- The
inventory_plugins
folder of a given Git project
Let’s discuss them further.
Pre-installed Ansible plugins
There are a few plugins that come installed in ansible-core
. This is the version of Ansible that does not contain any additional collections.
The following command can be used to list all currently installed plugins that are available to be used by Ansible and from installed...