ansible.builtin.auto (v2.16.5) — inventory

Loads and executes an inventory plugin specified in a YAML config

| "added in version" 2.5 of ansible.builtin"

Authors: Matt Davis (@nitzmahone)

Install Ansible via pip

Install with pip install ansible-core==2.16.5

Description

By enabling the C(auto) inventory plugin, any YAML inventory config file with a C(plugin) key at its root will automatically cause the named plugin to be loaded and executed with that config. This effectively provides automatic enabling of all installed/accessible inventory plugins.

To disable this behavior, remove C(auto) from the C(INVENTORY_ENABLED) config element.