Skip to content

auto

Collection Note

This module is part of the ansible.builtin collection. To install the collection, use:

ansible-galaxy collection install ansible.builtin
Added in version 2.5.

Synopsis

  • 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.

Examples

# This plugin is not intended for direct use; it is a fallback mechanism for automatic enabling of
# all installed inventory plugins.

Authors

  • Matt Davis (@nitzmahone)