ansible/bin
Serge van Ginderachter f6a55a3552 Refactor vars_plugins (host/group_vars)
Split out parsing of vars files to per host and per group
parsing, instead of reparsing all groups for each host. This enhances
performance.

Extend vars_plugins' API with two new methods:
* get host variables: only parses host_vars
* get group variables: only parses group_vars for specific group
The initial run method is still used for backward compatibility.

Parse all vars_plugins at inventory initialisation, instead of
per host when touched first by runner. Here we can also loop through
all groups once easily, then parse them.
This also centralizes all parsing in the inventory constructor.

	modified:   bin/ansible
	modified:   bin/ansible-playbook
	modified:   lib/ansible/inventory/__init__.py
	modified:   lib/ansible/inventory/vars_plugins/group_vars.py
2014-03-25 22:12:01 +01:00
..
ansible Refactor vars_plugins (host/group_vars) 2014-03-25 22:12:01 +01:00
ansible-doc Only display equals sign in summary for required options. 2014-02-14 00:12:29 -05:00
ansible-galaxy Add space after full stop in ansible-galaxy help 2014-03-17 18:52:44 +00:00
ansible-playbook Refactor vars_plugins (host/group_vars) 2014-03-25 22:12:01 +01:00
ansible-pull Merge pull request #5864 from stevetjoa/ansible 2014-03-17 15:15:25 -04:00
ansible-vault Addresses #6579 Disallow vault passwords with newline characters by stripping them in utils 2014-03-19 15:56:14 -04:00