7b02fe89d8
We can use the keys of overcloud_group_hosts_map and overcloud_group_default to make a reasonable estimate of the overcloud groups.
18 lines
668 B
Plaintext
18 lines
668 B
Plaintext
---
|
|
###############################################################################
|
|
# Overcloud configuration.
|
|
|
|
# Default Ansible group for overcloud hosts if not present in
|
|
# overcloud_group_hosts_map.
|
|
overcloud_group_default: controllers
|
|
|
|
# List of names of Ansible groups for overcloud hosts.
|
|
overcloud_groups: >
|
|
{{ (overcloud_group_hosts_map.keys() +
|
|
[overcloud_group_default]) | reject('equalto', 'ignore') | unique | sort | list }}
|
|
|
|
# Dict mapping overcloud Ansible group names to lists of hosts in the group.
|
|
# As a special case, the group 'ignore' can be used to specify hosts that
|
|
# should not be added to the inventory.
|
|
overcloud_group_hosts_map: {}
|