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
Brian Coca f7570f1dc4 Implicit localhost ondemand (#16900)
* Revert "There can be only one localhost"

This reverts commit 5f1bbb4fcd.
this broke several usages of localhost, see #16882, #16898 and #16886

* ensure there is only 1 localhost

fixes #16886, #16882 and #16898

- make sure localhost exists before returning it
- optimzed host caching
- ensure we always return a host object
8 years ago
..
vars_plugins Add python3-compat boilerplate to all .py files in lib/ansible 9 years ago
__init__.py Implicit localhost ondemand (#16900) 8 years ago
dir.py skip non executable inventory when no shebang (#15969) 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 8 years ago
host.py Mark implicitly hosts as such and exclude them from the all group 8 years ago
ini.py draft add group merge priority and yaml inventory 9 years ago
script.py better error when host inventory script isnt dict 9 years ago
yaml.py made format more flexible and allow for non dict entries 9 years ago