From 9aac725e88c773adff93ebd468d78c27115ffdd7 Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Wed, 27 May 2026 13:47:09 -0400 Subject: [PATCH] added inventory sources to ansible configuration --- ansible.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index 24ca121..2c79be8 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -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