main.yml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. ---
  2. openshift_openstack_stack_state: 'present'
  3. openshift_openstack_ssh_ingress_cidr: 0.0.0.0/0
  4. openshift_openstack_node_ingress_cidr: 0.0.0.0/0
  5. openshift_openstack_lb_ingress_cidr: 0.0.0.0/0
  6. openshift_openstack_bastion_ingress_cidr: 0.0.0.0/0
  7. openshift_openstack_num_etcd: 0
  8. openshift_openstack_num_masters: 1
  9. openshift_openstack_num_nodes: 1
  10. openshift_openstack_num_dns: 0
  11. openshift_openstack_num_infra: 1
  12. openshift_openstack_dns_nameservers: []
  13. openshift_openstack_nodes_to_remove: []
  14. openshift_openstack_cluster_node_labels:
  15. app:
  16. region: primary
  17. infra:
  18. region: infra
  19. openshift_openstack_install_debug_packages: false
  20. openshift_openstack_required_packages:
  21. - docker
  22. - NetworkManager
  23. - wget
  24. - git
  25. - net-tools
  26. - bind-utils
  27. - bridge-utils
  28. openshift_openstack_debug_packages:
  29. - bash-completion
  30. - vim-enhanced
  31. # container-storage-setup
  32. openshift_openstack_container_storage_setup:
  33. docker_dev: "/dev/sdb"
  34. docker_vg: "docker-vol"
  35. docker_data_size: "95%VG"
  36. docker_dm_basesize: "3G"
  37. container_root_lv_name: "dockerlv"
  38. container_root_lv_mount_path: "/var/lib/docker"
  39. # populate-dns
  40. openshift_openstack_dns_records_add: []
  41. openshift_openstack_external_nsupdate_keys: {}
  42. openshift_openstack_full_dns_domain: "{{ (openshift_openstack_clusterid|trim == '') | ternary(openshift_openstack_public_dns_domain, openshift_openstack_clusterid + '.' + openshift_openstack_public_dns_domain) }}"
  43. openshift_openstack_app_subdomain: "apps"
  44. # heat vars
  45. openshift_openstack_clusterid: openshift
  46. openshift_openstack_stack_name: "{{ openshift_openstack_clusterid }}.{{ openshift_openstack_public_dns_domain }}"
  47. openshift_openstack_subnet_prefix: "192.168.99"
  48. openshift_openstack_master_hostname: master
  49. openshift_openstack_infra_hostname: infra-node
  50. openshift_openstack_node_hostname: app-node
  51. openshift_openstack_lb_hostname: lb
  52. openshift_openstack_etcd_hostname: etcd
  53. openshift_openstack_dns_hostname: dns
  54. openshift_openstack_keypair_name: openshift
  55. openshift_openstack_lb_flavor: "{{ openshift_openstack_default_flavor }}"
  56. openshift_openstack_etcd_flavor: "{{ openshift_openstack_default_flavor }}"
  57. openshift_openstack_master_flavor: "{{ openshift_openstack_default_flavor }}"
  58. openshift_openstack_node_flavor: "{{ openshift_openstack_default_flavor }}"
  59. openshift_openstack_infra_flavor: "{{ openshift_openstack_default_flavor }}"
  60. openshift_openstack_dns_flavor: "{{ openshift_openstack_default_flavor }}"
  61. openshift_openstack_master_image: "{{ openshift_openstack_default_image_name }}"
  62. openshift_openstack_infra_image: "{{ openshift_openstack_default_image_name }}"
  63. openshift_openstack_node_image: "{{ openshift_openstack_default_image_name }}"
  64. openshift_openstack_lb_image: "{{ openshift_openstack_default_image_name }}"
  65. openshift_openstack_etcd_image: "{{ openshift_openstack_default_image_name }}"
  66. openshift_openstack_dns_image: "{{ openshift_openstack_default_image_name }}"
  67. openshift_openstack_provider_network_name: null
  68. openshift_openstack_external_network_name: null
  69. openshift_openstack_private_network: >-
  70. {% if openshift_openstack_provider_network_name | default(None) -%}
  71. {{ openshift_openstack_provider_network_name }}
  72. {%- else -%}
  73. {{ openshift_openstack_private_network_name | default ('openshift-ansible-' + openshift_openstack_stack_name + '-net') }}
  74. {%- endif -%}
  75. openshift_openstack_master_server_group_policies: []
  76. openshift_openstack_infra_server_group_policies: []
  77. openshift_openstack_docker_volume_size: 15
  78. openshift_openstack_master_volume_size: "{{ openshift_openstack_docker_volume_size }}"
  79. openshift_openstack_infra_volume_size: "{{ openshift_openstack_docker_volume_size }}"
  80. openshift_openstack_node_volume_size: "{{ openshift_openstack_docker_volume_size }}"
  81. openshift_openstack_etcd_volume_size: 2
  82. openshift_openstack_dns_volume_size: 1
  83. openshift_openstack_lb_volume_size: 5
  84. openshift_openstack_use_bastion: false
  85. openshift_openstack_ui_ssh_tunnel: false
  86. openshift_openstack_ephemeral_volumes: false