---
stack_name: "{{ env_id }}.{{ public_dns_domain }}"
dns_domain: "{{ public_dns_domain }}"
dns_nameservers: "{{ public_dns_nameservers }}"
subnet_prefix: "{{ openstack_subnet_prefix }}"
master_hostname: "{{ openstack_master_hostname | default('master') }}"
infra_hostname: "{{ openstack_infra_hostname | default('infra-node') }}"
node_hostname: "{{ openstack_node_hostname | default('app-node') }}"
lb_hostname: "{{ openstack_lb_hostname | default('lb') }}"
etcd_hostname: "{{ openstack_etcd_hostname | default('etcd') }}"
dns_hostname: "{{ openstack_dns_hostname | default('dns') }}"
ssh_public_key: "{{ openstack_ssh_public_key }}"
openstack_image: "{{ openstack_default_image_name }}"
lb_flavor: "{{ openstack_lb_flavor | default(openstack_default_flavor) }}"
etcd_flavor: "{{ openstack_etcd_flavor | default(openstack_default_flavor) }}"
master_flavor: "{{ openstack_master_flavor | default(openstack_default_flavor) }}"
node_flavor: "{{ openstack_node_flavor | default(openstack_default_flavor) }}"
infra_flavor: "{{ openstack_infra_flavor | default(openstack_default_flavor) }}"
dns_flavor: "{{ openstack_dns_flavor | default(openstack_default_flavor) }}"
openstack_master_image: "{{ openstack_master_image_name | default(openstack_default_image_name) }}"
openstack_infra_image: "{{ openstack_infra_image_name | default(openstack_default_image_name) }}"
openstack_node_image: "{{ openstack_node_image_name | default(openstack_default_image_name) }}"
openstack_lb_image: "{{ openstack_lb_image_name | default(openstack_default_image_name) }}"
openstack_etcd_image: "{{ openstack_etcd_image_name | default(openstack_default_image_name) }}"
openstack_dns_image: "{{ openstack_dns_image_name | default(openstack_default_image_name) }}"
openstack_private_network: >-
  {% if openstack_provider_network_name | default(None) -%}
  {{ openstack_provider_network_name }}
  {%- else -%}
  {{ openstack_private_network_name | default ('openshift-ansible-' + stack_name + '-net') }}
  {%- endif -%}
provider_network: "{{ openstack_provider_network_name | default(None) }}"
external_network: "{{ openstack_external_network_name | default(None) }}"
num_etcd: "{{ openstack_num_etcd | default(0) }}"
num_masters: "{{ openstack_num_masters }}"
num_nodes: "{{ openstack_num_nodes }}"
num_infra: "{{ openstack_num_infra }}"
num_dns: "{{ openstack_num_dns | default(1) }}"
master_volume_size: "{{ docker_master_volume_size | default(docker_volume_size) }}"
infra_volume_size: "{{ docker_infra_volume_size | default(docker_volume_size) }}"
node_volume_size: "{{ docker_node_volume_size | default(docker_volume_size) }}"
etcd_volume_size: "{{ docker_etcd_volume_size | default('2') }}"
dns_volume_size: "{{ docker_dns_volume_size | default('1') }}"
lb_volume_size: "{{ docker_lb_volume_size | default('5') }}"
nodes_to_remove: "{{ openstack_nodes_to_remove | default([]) |  to_yaml }}"
use_bastion: "{{ openstack_use_bastion|default(False) }}"
ui_ssh_tunnel: "{{ openshift_ui_ssh_tunnel|default(False) }}"
