ansible/lib/ansible
Adam Miller 4df610f961 order agnostic child group definition in inventory
Previously if a child's group vars section was defined before the
child group itself, an edge case would be hit where the state of the
pending declaration would process as var and therefore drop the
child pending declaration context. This would result in the group
vars defined for the parent group being out of scope for the child
group.

Example:

    [web:children]
    appnodes
    proxies

    [web:vars]
    deployment_type=prod

    [appnodes:vars]
    foo_var=true

    [appnodes]
    appnodes[1:3].example.com

    [proxies:vars]
    bar_var=true

    [proxies]
    proxies[1:3].example.com

Previously the deployment_type variable would be out of scope for
both the appnodes and proxies groups. This patch fixes that.

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-12-12 12:52:46 -05:00
..
cli Only expose rekey options to ansible-vault command 2017-12-07 11:48:20 -05:00
compat Create a short license for PSF and MIT. (#32212) 2017-11-06 10:25:30 -08:00
config Add Support for Mellanox switches: first module: mlnxos_command (#33121) 2017-11-27 20:55:08 +00:00
errors Remove uses of assert in production code (#32079) 2017-11-13 11:51:18 -05:00
executor Fix shebang. shebang and interpreter path weren't being templated (#33698) 2017-12-08 06:59:24 -08:00
galaxy Fix IndexError raised on galaxy-install 2017-11-14 09:54:52 -05:00
inventory locahost -> localhost typo in inventory/data.py (#33790) 2017-12-12 09:46:18 +01:00
module_utils VMware: Fix SSL Context checking for Python <2.7.9 (#33683) 2017-12-12 22:02:36 +05:30
modules Add iam_role_facts to changelog 2017-12-12 12:21:20 -05:00
parsing Remove uses of assert in production code (#32079) 2017-11-13 11:51:18 -05:00
playbook normalize names 2017-12-11 18:20:04 -05:00
plugins order agnostic child group definition in inventory 2017-12-12 12:52:46 -05:00
template Deprecate tests used as filters (#32361) 2017-11-27 17:58:08 -05:00
utils Add ssl, validate_certs in InfluxDB modules (#33327) 2017-12-12 07:56:24 +01:00
vars fix item var in delegation (#32986) 2017-11-20 09:29:55 -05:00
__init__.py
constants.py Fixes eos sending 'None' to device (#33015) 2017-11-17 11:33:54 -05:00
release.py