kayobe/releasenotes/notes/adds-support-for-multiple-kolla-inventories-65fd7a4922c639c5.yaml
Will Szumski c75a32e72f Pass through kolla inventories as is
Previously, we only supported passing through group_vars. Passing
through the inventory as is allows you to use other features of ansible
inventory such as host vars. It also simplifies the logic of merging
multiple inventories as we can just pass the inventory to ansible and
let ansible take care of the rest. This is useful for the multiple
environments feature.

Change-Id: I28f5d73d414d405d67f5fc92ab371aa2e28a4ce3
Story: 2002009
Task: 42910
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/802863
2023-05-30 18:42:24 +02:00

22 lines
1.1 KiB
YAML

---
features:
- |
Kolla Ansible inventories in the Kayobe configuration are now passed
through without modification. Previously, only ``group_vars`` were passed
through. When using multiple environments, the Kolla inventory from the
base configuration layer **and** the Kolla inventory from the Kayobe
environment layer will be passed through. The inventory from the
environment takes precedence over the inventory from the base layer. This
allows you to put any shared configuration in the base layer.
upgrade:
- |
As Kolla Ansible inventories are now passed through without modification,
the inventory directory in Kayobe configuration
(``etc/kayobe/kolla/inventory/``) must be a valid Ansible inventory,
although ``*.j2`` files used as Kolla Ansible inventory templates are
ignored. For cases where only ``group_vars`` or ``hosts_vars`` are
required, a blank inventory file in the same directory may be used.
- |
It is no longer possible to create an environment named ``kayobe``. This
is reserved for internal use.