auto - Loads and executes an inventory plugin specified in a YAML config
Synopsis
- By whitelisting
autoas the final inventory plugin, any YAML inventory config file with apluginkey at its root will automatically cause the named plugin to be loaded and executed with that config. This effectively provides automatic whitelisting of all installed/accessible inventory plugins. - To disable this behavior, remove
autofrom theINVENTORY_ENABLEDconfig element.
Examples
# This plugin is not intended for direct use; it is a fallback mechanism for automatic whitelisting of # all installed inventory plugins.
Status
Author
- UNKNOWN
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.5/plugins/inventory/auto.html