kayobe/ansible/group_vars/all/overcloud
Mark Goddard 7b02fe89d8 Determine overcloud_groups variable more intelligently
We can use the keys of overcloud_group_hosts_map and overcloud_group_default to
make a reasonable estimate of the overcloud groups.
2017-08-30 10:01:14 +00:00

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: {}