main.yml 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # Copyright 2022 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. # vars file for provision_idrac
  16. # Usage: validate_idrac_vars.yml
  17. idrac_input_filename: input_params/idrac_vars.yml
  18. base_input_filename: input_params/base_vars.yml
  19. login_input_filename: input_params/login_vars.yml
  20. login_vault_filename: input_params/.login_vault_key
  21. idrac_input_fail_msg: "Please provide all the required parameters in idrac_vars.yml"
  22. idrac_system_profile_success_msg: "idrac_system_profile validated"
  23. idrac_system_profile_fail_msg: "Failed. Incorrect setting input for idrac_system_profile in idrac_vars.yml"
  24. firmware_update_success_msg: "firmware_update_required validated"
  25. firmware_update_fail_msg: "Failed. firmware_update_required accepts only true or false in idrac_vars.yml"
  26. firmware_job_skip_msg: "Firmware update task skipped due to missing updates in /var/nfs_repo"
  27. snmp_community_success_msg: "snmp_community_name validated"
  28. snmp_community_fail_msg: "Failed. snmp_community_name should not be empty in base_vars.yml"
  29. snmp_trap_dest_success_msg: "snmp_trap_destination validated"
  30. snmp_trap_dest_fail_msg: "Failed. Incorrect value for snmp_trap_destination in base_vars.yml"
  31. public_ip_success_msg: "public_ip validated"
  32. public_ip_fail_msg: "Failed. Incorrect value for public_nic in base_vars.yml"
  33. # Usage: check_prerequisites.yml
  34. missing_exports_fail_msg: "Failed. Missing network cidr entry of iDRAC IP in /etc/exports file. Add entries if iDRAC IP is not in the management network range provided in base_vars.yml"
  35. lc_check_fail_msg: "Failed. LC is not ready. Retry again after LC is ready"
  36. provision_skip_msg: "Skipping remaining tasks for already provisioned servers. To provision server again remove iDRAC IP from the provision_idrac_inventory in awx"
  37. missing_ip_file_fail_msg: "Failed. Missing management_station_ip.txt in provision_idrac/files folder. Please run control_plane.yml to create management_station_ip.txt"
  38. awx_search_key: "-job-"
  39. nfs_check_key: "Failed"
  40. nfs_check_file: "nfs_check.xml"
  41. provisioned_idrac_inventory_name: "provisioned_idrac_inventory"
  42. awx_vars_filename: ".tower_cli.cfg"
  43. awx_vaultname: ".tower_vault_key"
  44. idrac9_supported_version: "5.00.10.20"
  45. idrac9_firmware_not_supported_msg: "[WARNING]Firmware version of iDRAC9 less than 5.00.10.20 is not supported for provisioning. Following tasks can be failed due to older firmware version. In case of failure, update firmware manually and re-run the idrac_template"
  46. idrac8_supported_version: "2.81.81.81"
  47. idrac8_firmware_not_supported_msg: "[WARNING]Firmware version of iDRAC8 less than 2.81.81.81 is not supported for provisioning. Following tasks can be failed due to older firmware version. In case of failure, update firmware manually and re-run the idrac_template"
  48. retries_count: 5
  49. provision_method_idrac: "idrac"
  50. provision_method_pxe: "PXE"
  51. # Usage: update_firmware.yml
  52. idrac_port: 443
  53. idrac_error_message: "Unable to complete the operation because the catalog name entered has either unsupported firmware packages or same version installed on the server"
  54. firmware_job_fail_msg: "Failed. Error occurred while updating firmware"
  55. firmware_job_success_msg: "Firmware update job compeleted successfully"
  56. # Usage: import_scp.yml
  57. scp_filename: idrac_scp.xml
  58. import_scp_fail_msg: "Import scp failed. This could be due to older bios, idrac version or due to pending lc tasks."
  59. # Usage: create_vd.yml
  60. raid_level: "RAID 0"
  61. # Usage: deploy_os.yml
  62. expose_duration: 60
  63. file_permission: 0644
  64. provision_os_msg: "OS provisioning is initiated. Wait for installation to complete for all servers."
  65. idrac_provisioning_fail_msg: "OS provisioning using iDRAC is failed. This could be due to older firmware or some internal issues with server. Re-run idrac_template after fixing the issue"
  66. pxe_provisioning_fail_msg: "OS provisioning using PXE is failed. This could be due some internal issues with server. Re-run idrac_template after fixing the issue"
  67. add_inventory_fail_msg: "Failed. Unable to add provisioned host to provisioned_idrac_inventory."
  68. max_delay: 40
  69. max_retries: 30
  70. max_timeout: 500
  71. idrac_reset_time: 30