---
###############################################################################
# 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 | list +
      [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: {}

# To prevent some network issues you can choose to disable cloud-init
disable_cloud_init: False

###############################################################################
# Overcloud host image configuration.

# The CentOS cloud images have a bogus name server entry in /etc/resolv.conf,
# 192.168.122.1. Cloud-init only appends name server entries to this file, and
# will not remove this bogus entry. Typically this leads to a delay of around
# 30 seconds when connecting via SSH, due to a timeout in NSS. The workaround
# employed here is to remove this bogus entry from the image using
# virt-customize, if it exists. See https://bugs.centos.org/view.php?id=14369.
overcloud_host_image_workaround_resolv_enabled: True

# Workaround a CentOS 7.5 bug: cloud-init 0.7.9-24 does not correctly set
# an IP address for VLAN subinterfaces configured with the Openstack metadata
# format/Config drive. # See, https://bugs.centos.org/view.php?id=14964.
overcloud_host_image_workaround_cloud_init_enabled: False

# cloud-init repository for overcloud_host_image_workaround_cloud_init_enabled
overcloud_host_image_workaround_cloud_init_repo: https://stackhpc.github.io/cloud-init-repo/
