community.general/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
2016-09-15 15:42:57 -04:00
..
vars_plugins Add python3-compat boilerplate to all .py files in lib/ansible 2015-10-19 18:36:19 -07:00
__init__.py Check controlpersist (#17443) 2016-09-12 08:27:39 -07:00
dir.py Improve inventory script error messages. (#17589) 2016-09-15 15:42:57 -04:00
expand_hosts.py Be systematic about parsing and validating hostnames and addresses 2015-09-11 21:47:18 +05:30
group.py Mark implicitly hosts as such and exclude them from the all group 2016-06-04 18:53:47 -05:00
host.py Performance improvements 2016-08-08 15:58:46 -05:00
ini.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
script.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
yaml.py Fix typo 2016-09-08 19:01:37 +05:30