stack_params.yaml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ---
  2. stack_name: "{{ env_id }}.{{ public_dns_domain }}"
  3. dns_domain: "{{ public_dns_domain }}"
  4. dns_nameservers: "{{ public_dns_nameservers }}"
  5. subnet_prefix: "{{ openstack_subnet_prefix }}"
  6. master_hostname: "{{ openstack_master_hostname | default('master') }}"
  7. infra_hostname: "{{ openstack_infra_hostname | default('infra-node') }}"
  8. node_hostname: "{{ openstack_node_hostname | default('app-node') }}"
  9. lb_hostname: "{{ openstack_lb_hostname | default('lb') }}"
  10. etcd_hostname: "{{ openstack_etcd_hostname | default('etcd') }}"
  11. dns_hostname: "{{ openstack_dns_hostname | default('dns') }}"
  12. ssh_public_key: "{{ openstack_ssh_public_key }}"
  13. openstack_image: "{{ openstack_default_image_name }}"
  14. lb_flavor: "{{ openstack_lb_flavor | default(openstack_default_flavor) }}"
  15. etcd_flavor: "{{ openstack_etcd_flavor | default(openstack_default_flavor) }}"
  16. master_flavor: "{{ openstack_master_flavor | default(openstack_default_flavor) }}"
  17. node_flavor: "{{ openstack_node_flavor | default(openstack_default_flavor) }}"
  18. infra_flavor: "{{ openstack_infra_flavor | default(openstack_default_flavor) }}"
  19. dns_flavor: "{{ openstack_dns_flavor | default(openstack_default_flavor) }}"
  20. openstack_master_image: "{{ openstack_master_image_name | default(openstack_default_image_name) }}"
  21. openstack_infra_image: "{{ openstack_infra_image_name | default(openstack_default_image_name) }}"
  22. openstack_node_image: "{{ openstack_node_image_name | default(openstack_default_image_name) }}"
  23. openstack_lb_image: "{{ openstack_lb_image_name | default(openstack_default_image_name) }}"
  24. openstack_etcd_image: "{{ openstack_etcd_image_name | default(openstack_default_image_name) }}"
  25. openstack_dns_image: "{{ openstack_dns_image_name | default(openstack_default_image_name) }}"
  26. openstack_private_network: >-
  27. {% if openstack_provider_network_name | default(None) -%}
  28. {{ openstack_provider_network_name }}
  29. {%- else -%}
  30. {{ openstack_private_network_name | default ('openshift-ansible-' + stack_name + '-net') }}
  31. {%- endif -%}
  32. provider_network: "{{ openstack_provider_network_name | default(None) }}"
  33. external_network: "{{ openstack_external_network_name | default(None) }}"
  34. num_etcd: "{{ openstack_num_etcd | default(0) }}"
  35. num_masters: "{{ openstack_num_masters }}"
  36. num_nodes: "{{ openstack_num_nodes }}"
  37. num_infra: "{{ openstack_num_infra }}"
  38. num_dns: "{{ openstack_num_dns | default(1) }}"
  39. master_server_group_policies: "{{ openstack_master_server_group_policies | default([]) | to_yaml }}"
  40. infra_server_group_policies: "{{ openstack_infra_server_group_policies | default([]) | to_yaml }}"
  41. master_volume_size: "{{ docker_master_volume_size | default(docker_volume_size) }}"
  42. infra_volume_size: "{{ docker_infra_volume_size | default(docker_volume_size) }}"
  43. node_volume_size: "{{ docker_node_volume_size | default(docker_volume_size) }}"
  44. etcd_volume_size: "{{ docker_etcd_volume_size | default('2') }}"
  45. dns_volume_size: "{{ docker_dns_volume_size | default('1') }}"
  46. lb_volume_size: "{{ docker_lb_volume_size | default('5') }}"
  47. nodes_to_remove: "{{ openstack_nodes_to_remove | default([]) | to_yaml }}"
  48. use_bastion: "{{ openstack_use_bastion|default(False) }}"
  49. ui_ssh_tunnel: "{{ openshift_ui_ssh_tunnel|default(False) }}"