openstack-ansible/releasenotes/notes/remove-overrides-17ef7d0496f6a6c7.yaml
Travis Truman f426eb98d1 Remove deleted override vars from inventory
When re-running the dynamic_inventory.py script, either directly or via
a playbook run, deployers expect that their edits to
openstack_user_config.yml are reflected in the inventory. However, previous
behavior only added new entries or updated existing variables with new
values; variables that were deleted remained in the inventory JSON
file.

This patch only corrects behavior for the variables includes in the
global_overrides dictionary. Similar behavior may be present in other
aspects of the inventory, such as removing host vars, but those should
be addressed in later patches.

Closes-Bug: #1588902

Change-Id: I86d6627ef34d99c7ef3c77fcd42c918a13f0fe81
2016-06-16 06:48:50 +00:00

6 lines
222 B
YAML

---
fixes:
- Deleting variable entries from the ``global_overrides`` dictionary in
``openstack_user_config.yml`` now properly removes those variables from
the ``openstack_inventory.json`` file. See Bug #1588902.