main.yml 3.7 KB

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