ansible/lib/ansible/inventory
Tobias Wolf c23b11d212 [Inventory] Cache the result of enumerating groups and host names
for `VariableManager._get_magic_variables()`.

This saves a lot of time re-iterating the nearly always constant global
list of groups and their members.

Generate once and cache, and invalidate cache in case `add_host:` or
`group_by:` are used.
2016-09-01 06:19:49 -05:00
..
vars_plugins Add python3-compat boilerplate to all .py files in lib/ansible 2015-10-19 18:36:19 -07:00
__init__.py [Inventory] Cache the result of enumerating groups and host names 2016-09-01 06:19:49 -05:00
dir.py skip non executable inventory when no shebang (#15969) 2016-05-24 10:25:10 -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 The former match for a section header included hosts that began with a range. (#17225) 2016-08-24 13:57:35 -04:00
script.py better error when host inventory script isnt dict 2016-01-25 16:32:09 -05:00
yaml.py made format more flexible and allow for non dict entries 2016-05-16 14:39:49 -04:00