all.yml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. ---
  2. # Uncomment if you plan on using these features. Doing so is not required,
  3. # but enables pre-requisites checks that will confirm that the right parameters
  4. # are set.
  5. # Note that these features require other parameters to be set in the inventory.
  6. # It is highly recommended that you read the configuration documentation.
  7. #openshift_use_all_in_one_cluster_deployment: False
  8. #openshift_use_cinder_persistent_volume: False
  9. #openshift_use_cinder_registry: False
  10. #openshift_use_kuryr: False
  11. #openshift_use_openstack_ssl: False
  12. #openshift_use_swift_registry: False
  13. #openshift_openstack_use_neutron_internal_dns: False
  14. #openshift_openstack_use_no_floating_ip: False
  15. #openshift_openstack_use_nsupdate: True
  16. #openshift_openstack_use_provider_network: False
  17. ############
  18. openshift_openstack_clusterid: "openshift"
  19. openshift_openstack_public_dns_domain: "example.com"
  20. openshift_openstack_dns_nameservers: []
  21. # # Used Hostnames
  22. # # - set custom hostnames for roles by uncommenting corresponding lines
  23. #openshift_openstack_master_hostname: "master"
  24. #openshift_openstack_infra_hostname: "infra-node"
  25. #openshift_openstack_cns_hostname: "cns"
  26. #openshift_openstack_node_hostname: "app-node"
  27. #openshift_openstack_lb_hostname: "lb"
  28. #openshift_openstack_etcd_hostname: "etcd"
  29. openshift_openstack_keypair_name: "openshift"
  30. openshift_openstack_external_network_name: "public"
  31. #openshift_openstack_private_network_name: "openshift-ansible-{{ openshift_openstack_stack_name }}-net"
  32. # # A dedicated Neutron network name for containers data network
  33. # # Configures the data network to be separated from openshift_openstack_private_network_name
  34. # # NOTE: this is only supported with Flannel SDN yet
  35. #openstack_private_data_network_name: "openshift-ansible-{{ openshift_openstack_stack_name }}-data-net"
  36. ## Kuryr networking
  37. # TODO: Allow the user to specify pre-existing subnets for pod and services
  38. #openshift_openstack_kuryr_service_subnet_cidr: "172.30.0.0/16"
  39. ## You should set the following if you want to use Kuryr/Neutron as your SDN
  40. #openshift_use_openshift_sdn: False
  41. # NOTE: you must uncomment these for Kuryr to work properly as well:
  42. # openshift_master_open_ports:
  43. # - service: dns tcp
  44. # port: 53/tcp
  45. # - service: dns udp
  46. # port: 53/udp
  47. # openshift_node_open_ports:
  48. # - service: dns tcp
  49. # port: 53/tcp
  50. # - service: dns udp
  51. # port: 53/udp
  52. #use_trunk_ports: True
  53. #os_sdn_network_plugin_name: cni
  54. #openshift_node_proxy_mode: userspace
  55. # # Kuryr needs to know the network or the subnet you will be taking Floating
  56. # IPs for the loadbalancer services from.
  57. # kuryr_openstack_public_net_id: uuid_of_my_fip_net
  58. # If you have different subnet at the Floating IP network you can also specify
  59. # it but need to ensure default policy allows your tennat to retrieve that
  60. # information
  61. # kuryr_openstack_public_subnet_id: uuid_of_my_fip_subnet
  62. # # Kuryr can use a different subnet per namespace
  63. # openshift_kuryr_subnet_driver: namespace
  64. # openshift_kuryr_sg_driver: namespace
  65. # If you VM images will name the ethernet device different than 'eth0',
  66. # override this
  67. #kuryr_cni_link_interface: eth0
  68. ## Ports pooling is enabled by default (with nested driver).
  69. ## To disable, uncomment the next:
  70. #kuryr_openstack_pool_driver: noop
  71. #
  72. ## You can also alter the port pooling defaults here
  73. #kuryr_openstack_pool_max: 0
  74. #kuryr_openstack_pool_min: 1
  75. #kuryr_openstack_pool_batch: 5
  76. #kuryr_openstack_pool_update_frequency: 20
  77. #
  78. ## You can pre-populate the pools with subports by uncommenting the next line
  79. ## and specifying the amount of subports you want to pre-create per
  80. ## origin-node, e.g.: openshift_kuryr_precreate_subports: 5
  81. #openshift_kuryr_precreate_subports: false
  82. #
  83. ## You can also change the default device owner for the precreated subports
  84. #openshift_kuryr_device_owner: compute:kuryr
  85. #
  86. # You can also disable the kuryr controller and cni healthcheck probes by
  87. # uncommenting the next
  88. # enable_kuryr_controller_probes: False
  89. # enable_kuryr_cni_probes: False
  90. ## If you want to use a provider network, set its name here.
  91. ## NOTE: the `openshift_openstack_external_network_name` and
  92. ## `openshift_openstack_private_network_name` options will be ignored when using a
  93. ## provider network.
  94. #openshift_openstack_provider_network_name: "provider"
  95. # # Used Images
  96. # # - set specific images for roles by uncommenting corresponding lines
  97. # # - note: do not remove openshift_openstack_default_image_name definition
  98. #openshift_openstack_master_image_name: "centos7"
  99. #openshift_openstack_infra_image_name: "centos7"
  100. #openshift_openstack_cns_image_name: "centos7"
  101. #openshift_openstack_node_image_name: "centos7"
  102. #openshift_openstack_lb_image_name: "centos7"
  103. #openshift_openstack_etcd_image_name: "centos7"
  104. openshift_openstack_default_image_name: "centos7"
  105. openshift_openstack_num_masters: 1
  106. openshift_openstack_num_infra: 1
  107. openshift_openstack_num_cns: 0
  108. openshift_openstack_num_nodes: 2
  109. # # Public IP Allocation
  110. # # - manage which node roles are allocated public IP addresses
  111. # # - by default, all roles are given Public IP addresses
  112. #openshift_openstack_master_floating_ip: true
  113. #openshift_openstack_infra_floating_ip: true
  114. #openshift_openstack_etcd_floating_ip: true
  115. #openshift_openstack_load_balancer_floating_ip: true
  116. #openshift_openstack_compute_floating_ip: true
  117. # # Used Flavors
  118. # # - set specific flavors for roles by uncommenting corresponding lines
  119. # # - note: do note remove openshift_openstack_default_flavor definition
  120. #openshift_openstack_master_flavor: "m1.medium"
  121. #openshift_openstack_infra_flavor: "m1.medium"
  122. #openshift_openstack_cns_flavor: "m1.medium"
  123. #openshift_openstack_node_flavor: "m1.medium"
  124. #openshift_openstack_lb_flavor: "m1.medium"
  125. #openshift_openstack_etcd_flavor: "m1.medium"
  126. openshift_openstack_default_flavor: "m1.medium"
  127. # # Numerical index of nodes to remove
  128. # openshift_openstack_nodes_to_remove: []
  129. ## Select a load balancer solution you desire. Only one of these can be
  130. ## `true` at a time. If they're both `false`, no load balancer will be deployed.
  131. #openshift_openstack_use_lbaas_load_balancer: false
  132. #openshift_openstack_use_vm_load_balancer: false
  133. # # Docker volume size
  134. # # - set specific volume size for roles by uncommenting corresponding lines
  135. # # - note: do not remove docker_default_volume_size definition
  136. #openshift_openstack_master_volume_size: "15"
  137. #openshift_openstack_infra_volume_size: "15"
  138. #openshift_openstack_cns_volume_size: "15"
  139. #openshift_openstack_node_volume_size: "15"
  140. #openshift_openstack_etcd_volume_size: "2"
  141. #openshift_openstack_lb_volume_size: "5"
  142. openshift_openstack_docker_volume_size: "15"
  143. ## Specify server group policies for master and infra nodes. Nova must be configured to
  144. ## enable these policies. 'anti-affinity' will ensure that each VM is launched on a
  145. ## different physical host.
  146. #openshift_openstack_master_server_group_policies: [anti-affinity]
  147. #openshift_openstack_infra_server_group_policies: [anti-affinity]
  148. # The Classless Inter-Domain Routing (CIDR) for the OpenStack VM subnet.
  149. openshift_openstack_subnet_cidr: "192.168.99.0/24"
  150. # The starting IP address for the OpenStack subnet allocation pool.
  151. openshift_openstack_pool_start: "192.168.99.3"
  152. # The ending IP address for the OpenStack subnet allocation pool.
  153. openshift_openstack_pool_end: "192.168.99.254"
  154. ## Red Hat subscription using user/password
  155. #rhsub_user: '<username>'
  156. #rhsub_pass: '<password>'
  157. # Or if using activation key:
  158. #rhsub_ak: '<ak>'
  159. #rhsub_orgid: '<orgid>'
  160. #rhsub_pool: '<pool name>'
  161. # This parameter may need to be set if your nsupdate zone differs from the full OpenShift DNS name
  162. #openshift_openstack_nsupdate_zone: example.com
  163. # # Roll-your-own DNS
  164. #openshift_openstack_external_nsupdate_keys:
  165. # public:
  166. # key_secret: 'SKqKNdpfk7llKxZ57bbxUnUDobaaJp9t8CjXLJPl+fRI5mPcSBuxTAyvJPa6Y9R7vUg9DwCy/6WTpgLNqnV4Hg=='
  167. # key_algorithm: 'hmac-md5'
  168. # server: '192.168.1.1'
  169. # private:
  170. # key_secret: 'kVE2bVTgZjrdJipxPhID8BEZmbHD8cExlVPR+zbFpW6la8kL5wpXiwOh8q5AAosXQI5t95UXwq3Inx8QT58duw=='
  171. # key_algorithm: 'hmac-md5'
  172. # server: '192.168.1.2'
  173. # NOTE(shadower): Do not change this value. The Ansible user is currently
  174. # hardcoded to `openshift`.
  175. ansible_user: openshift
  176. # Resolve heat stack outputs. Disabling outputs helps stack scalability. (default: True)
  177. #openshift_openstack_resolve_heat_outputs: True
  178. # # Use a single security group for a cluster (default: false)
  179. #openshift_openstack_flat_secgrp: false
  180. # If you want to use the VM storage instead of Cinder volumes, set this to `true`.
  181. # NOTE: this is for testing only! Your data will be gone once the VM disappears!
  182. # openshift_openstack_ephemeral_volumes: false
  183. ## cloud config
  184. openshift_openstack_disable_root: true
  185. openshift_openstack_user: openshift