main.yml 3.4 KB

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