base_vars.yml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. # Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. ---
  15. # Path to directory hosting ansible config file (ansible.cfg file)
  16. # Default value: /etc/ansible
  17. # This directory is on the host running ansible, if ansible is installed using dnf
  18. # If ansible is installed using pip, this path should be set
  19. ansible_conf_file_path: /etc/ansible
  20. # This variable is used to enable ethernet switch configuration
  21. # Accepted values: "true" or "false".
  22. # Default value: "true".
  23. # If ethernet switch support is needed set this to "true"
  24. ethernet_switch_support: true
  25. # This variable is used to enable infiniband switch configuration
  26. # Accepted values: "true" or "false".
  27. # Default value: "true".
  28. # If infiniband configuration is needed set this to "true"
  29. ib_switch_support: true
  30. # This variable is used to enable powervault configuration
  31. # Accepted values: "true" or "false".
  32. # Default value: "false".
  33. # If powervault configuration is needed, set this to "true"
  34. powervault_support: false
  35. # The nic/ethernet card that will be connected to the public internet.
  36. # Default value: eno2
  37. public_nic: "eno2"
  38. # Kubernetes pod network CIDR for appliance k8s network
  39. # Make sure this value does not overlap with any of the host networks.
  40. # Default value: "192.168.0.0/16"
  41. appliance_k8s_pod_net_cidr: "192.168.0.0/16"
  42. ### Usage: provision_idrac, network_ib, network_ethernet, powervault_me4 ###
  43. # The trap destination IP address is the IP address of the SNMP Server where the trap will be sent
  44. # If this variable is left blank, SNMP will be disabled.
  45. # Provide a valid SNMP server IP
  46. snmp_trap_destination: ""
  47. # Provide the snmp community name needed
  48. # Default value:"public"
  49. snmp_community_name: "public"
  50. ### Usage: webui_awx ###
  51. # Organization name that is created in AWX.
  52. # Default value: “DellEMC”
  53. awx_organization: "DellEMC"
  54. ### Usage: provision_cobbler, provision_idrac ###
  55. # This variable is used to set node provisioning method
  56. # Accepted values: idrac, PXE
  57. # Default value: "idrac"
  58. # If provisioning needs to be done through cobbler, set it to "PXE"
  59. # If idrac license is not present, provisioning mode will be set to "PXE"
  60. provision_method: "idrac"
  61. # This variable is used to set provisioning type
  62. # Accepted values: stateful
  63. # Default value: "stateful"
  64. # If set it to "stateful", disk based provision via Cobbler
  65. # Currently stateless provisioning is not supported
  66. provision_state: "stateful"
  67. # This is the operating system image that will be used for provisioning compute nodes in the cluster.
  68. # Accepted values: rocky, centos
  69. # Default value: "rocky"
  70. # Required field
  71. provision_os: "rocky"
  72. # This is the path where the user has to place the iso image that needs to be provisioned in target nodes.
  73. # The iso file should be Rocky8-Minimal or CentOS7-2009-minimal edition.
  74. # Other iso files are not supported.
  75. # Required field
  76. iso_file_path: "/root/Rocky-8.4-x86_64-minimal.iso"
  77. # This is the timezone that will be set during provisioning of OS
  78. # Available timezones are provided in control_plane/common/files/timezone.txt
  79. # Default timezone will be "GMT"
  80. # Some of the other available timezones are EST,CET,MST,CST6CDT,PST8PDT
  81. timezone: "GMT"
  82. # This is the language that will be set during provisioning of the OS
  83. # Default language supported is "en-US"
  84. language: "en-US"
  85. # Default lease time that will be used by dhcp
  86. # Its unit is seconds
  87. # Min: 21600 seconds
  88. # Default: 86400 seconds
  89. # Max: 31536000 seconds
  90. # Required field
  91. default_lease_time: "86400"
  92. ### Usage: control_plane_device ###
  93. # The nic/ethernet card that needs to be connected to provision
  94. # the fabric, idrac and powervault.
  95. # This nic will be configured by Omnia for the DHCP server.
  96. # Default value: "eno1"
  97. mngmnt_network_nic: "eno1"
  98. # The dhcp range for assigning the IPv4 address
  99. # Example: 172.17.0.1
  100. # Required field
  101. mngmnt_network_dhcp_start_range: "172.19.0.100"
  102. mngmnt_network_dhcp_end_range: "172.19.0.200"
  103. # The mapping file consists of the MAC address and its respective IP address.
  104. # The format of mapping file should be MAC,IP and must be a CSV file.
  105. # Eg: xx:yy:zz:aa:bb,172.17.0.5
  106. # A template for mapping file exists in omnia/examples and is named as mapping_device_file.csv.
  107. # This depicts the path where user has kept the mapping file for DHCP configurations.
  108. mngmnt_mapping_file_path: ""
  109. ### Usage: provision_cobbler ###
  110. # The nic/ethernet card that needs to be connected to provision the OS of bare metal servers
  111. # This nic will be configured by Omnia for the DHCP server.
  112. # Default value: "eno3"
  113. host_network_nic: "eno3"
  114. # The dhcp range for assigning the IPv4 address
  115. # Example: 172.17.0.1
  116. # Required field
  117. host_network_dhcp_start_range: "172.17.0.100"
  118. host_network_dhcp_end_range: "172.17.0.200"
  119. # The mapping file consists of the MAC address and its respective IP address and Hostname and Component_role(if any)
  120. # 2 Formats are supported for host mapping files:
  121. # If user wants one-touch provisioning of omnia cluster, format of csv: MAC,Hostname,IP,Component_role
  122. # Component_role can take values: manager, compute, login_node, nfs_node
  123. # Ex. xx:yy:zz:aa:bb,server,172.17.0.5,manager.
  124. # A templates for mapping file exists in omnia/examples and is named as host_mapping_file_one_touch.csv
  125. # If user wants to skip one touch deployment and only static IP assignment is required, format of csv: MAC,Hostname,IP
  126. # Ex. xx:yy:zz:aa:bb,server,172.17.0.5
  127. # A templates for mapping file exists in omnia/examples and is named as host_mapping_file_os_provisioning.csv
  128. # This depicts the path where user has kept the mapping file for DHCP configurations.
  129. host_mapping_file_path: ""
  130. ### Usage: control_plane_ib ###
  131. # The nic/ethernet card that needs to be connected to configure infiniband switch
  132. # This nic will be configured by Omnia for the DHCP server.
  133. # Default value: ib0
  134. ib_network_nic: "ib0"
  135. # The dhcp range for assigning the IPv4 address
  136. # Example: 172.17.0.1
  137. ib_network_dhcp_start_range: "172.25.0.100"
  138. ib_network_dhcp_end_range: "172.25.0.200"