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