You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/inventory
Adrian Likins 2c54a8471f Improve inventory script error messages. (#17589)
When an inventory file looks executable (with a #!) but
isn't, the error message could be confusing. Especially
if the inventory file was named something like 'inventory'
or 'hosts'. Add some context and quote the filename.

This is based on https://github.com/ansible/ansible/pull/15758
8 years ago
..
vars_plugins Add python3-compat boilerplate to all .py files in lib/ansible 9 years ago
__init__.py Check controlpersist (#17443) 8 years ago
dir.py Improve inventory script error messages. (#17589) 8 years ago
expand_hosts.py Be systematic about parsing and validating hostnames and addresses 9 years ago
group.py Mark implicitly hosts as such and exclude them from the all group 9 years ago
host.py Performance improvements 8 years ago
ini.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 8 years ago
script.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 8 years ago
yaml.py Fix typo 8 years ago