openstack-ansible/releasenotes/notes/lxc_hosts-group-a5643e7010d6b151.yaml
Nolan Brubaker 518fb381c4 Add lxc_host dynamic group to inventory.
Previously, it was difficult to target only the hosts holding LXC
containers. This change will add a host to the implicit 'lxc_hosts'
group any time a container is created in association with that host.

Users cannot define this group in their configuration. Doing so will
result in an runtime error.

This approach allows for specific targeting without using complicated
Jinja calculations as seen in commit
76695012e6. As such, the work in that
review has been replaced with this change.

Change-Id: I10faf5880a61abcc77f017573e0fd76d033224eb
2016-09-16 02:31:50 +00:00

7 lines
230 B
YAML

---
features:
- The inventory script will now dynamically populate the ``lxc_hosts`` group
dynamically based on which machines have container affinities defined.
This group is not allowed in user-defined configuration.