added inventory sources to ansible configuration

This commit is contained in:
2026-05-27 13:47:09 -04:00
parent c45946739e
commit 9aac725e88

View File

@@ -138,7 +138,7 @@ gathering=smart
;hash_behaviour=replace
# (pathlist) Comma-separated list of Ansible inventory sources
inventory=['.','inv','/etc/ansible/hosts']
inventory=['hosts','hosts.yml','hosts.yaml','hosts.json','/etc/ansible/hosts','/etc/ansible/hosts.yml','/etc/ansible/hosts.yaml','/etc/ansible/hosts.json']
# (pathspec) Colon-separated paths in which Ansible will search for HttpApi Plugins.
httpapi_plugins=plugins/httpapi:~/.ansible/plugins/httpapi:/usr/share/ansible/plugins/httpapi
@@ -663,7 +663,7 @@ token_path=.gal_token
;any_unparsed_is_failed=False
# (list) List of enabled inventory plugins, it also determines the order in which they are used.
;enable_plugins=host_list, script, auto, yaml, ini, toml
enable_plugins=host_list, script, auto, yaml, ini, toml
# (bool) Controls if ansible-inventory will accurately reflect Ansible's view into inventory or its optimized for exporting.
;export=False