Using inventory sources
This section will go into how to use sources inside of the Automation controller. These populate groups, hosts, and group/host variables in the inventory.
An inventory can have multiple inventory sources that can each contribute to the hosts and groups for that inventory.
Important Note
If the inventory plugin is dependent on a collection, that collection must be installed in the execution environment (EE) that the inventory source runs on. EEs are covered in the next chapter. It is possible to work around this by installing the collection to the project that the inventory source uses.
Projects have also not been discussed and will be covered in Chapter 10, Creating Job Templates and Workflows.
The next three sections will go into detail about how to add inventory sources to an inventory in the Automation controller. Each section will cover a different method. The three methods covered will be using the GUI, modules, and Ansible roles.
A...