ansible-config_template/releasenotes/notes
Nolan Brubaker 80a1262252 Add a get_nested filter
When accessing nested facts, such as in ansible_local sections, guard
statements in the when clause can get quite long, due to having to
repeate the 'in/not in' logic for every key at every level.

The get_nested filter attempts to instead to move the guard into a
single line, making the conditions easier to write and maintain.

As example,

   ('openstack_ansible' not in ansible_local or
    'swift' not in ansible_local['openstack_ansible'] or
    'venv_tag' not in ansible_local['openstack_ansible']['swift'] or
    ansible_local['openstack_ansible']['swift']['venv_tag'] == swift_venv_tag)

 could be rewritten as

     get_nested(ansible_local, 'openstack_ansible.swift.venv_tag') == swift_venv_tag

Change-Id: I3b43c25c8783c43cf5285f2b3e7267b2c5712ea0
2017-07-07 19:42:39 +00:00
..
config_template-MultiStrOps-support-c28e33fd5044e14d.yaml Adjust release note for config template 2016-05-03 08:33:51 +01:00
config-template-ignore-none-type-9387c236853f061b.yaml Add ignore_none_type to config template 2017-06-26 19:12:43 +00:00
force-dep-order-2c529683509e45da.yaml Update the lookup plugin to force dep ordering 2016-07-18 15:49:22 +00:00
get_nested_filter-b89828586d7e2520.yaml Add a get_nested filter 2017-07-07 19:42:39 +00:00
get-networks-e241137620c2280d.yaml Add get_networks command to neutron library 2016-10-12 13:28:09 +00:00
keystone_plugin_default_update-c025bd5508069df3.yaml Always update existing matching endpoints 2017-03-14 11:10:17 +00:00
keystone_user_and_project_support-e35b0b335b6522e9.yaml Add user and project login domains to keystone 2016-05-03 07:34:54 +00:00
list-extend-toggle-46a75ded97b7ce02.yaml Add option to toggle list extensions 2016-09-09 16:15:00 -05:00
network_sriov_mappings-7e4c9bcb164625c3.yaml Implementation Neutron SR-IOV 2017-01-09 11:12:05 -06:00
opportunistic-strategy-and-connection-plugin-bc476fa3607dcc4a.yaml Implement an opportunistic strategy and connection plugin 2016-08-25 17:45:10 +00:00
plugins-remove-glance-0034a2192f91da7c.yaml Remove glance library 2016-11-11 09:19:45 -08:00
plugins-remove-neutron-cbea1235e030e4f5.yaml Remove neutron library 2017-05-24 23:00:42 +00:00
userspace_group_and_host_vars-14f77b5eb518e32d.yaml Introduce userspace group_vars and host_vars 2017-03-14 12:57:33 +00:00