main.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. # Usage: pre-requisites.yml
  16. control_plane_installation_required: "AWX and grafana installation through control_plane.yml is mandatory for telemetry.yml"
  17. os_supported_leap: "leap"
  18. selinux_warning: "Warning! SELinux status is disabled by user. No SELinux policy is loaded"
  19. base_vars_file: "{{ role_path }}/../../input_params/telemetry_base_vars.yml"
  20. login_vars_file: "{{ role_path }}/../../input_params/telemetry_login_vars.yml"
  21. control_plane_base_vars_file: "{{ role_path }}/../../../control_plane/input_params/base_vars.yml"
  22. ctrl_plane_login_vars_filename: "{{ role_path }}/../../../control_plane/input_params/login_vars.yml"
  23. fail_msg_base_vars: "telemetry_base_vars.yml file doesn't exist."
  24. fail_msg_login_vars: "telemetry_login_vars.yml file doesn't exist."
  25. ctrl_plane_fail_msg_login_vars: "control_plane/login_vars.yml file doesn't exist"
  26. pip_packages:
  27. - openshift
  28. - omsdk
  29. - PyMySQL
  30. mysqldb_collection_name: community.mysql:3.1.0
  31. #Usage: validate_base_vars.yml
  32. folder_perm: '644'
  33. vault_file_perm: '0644'
  34. idrac_telemetry_support_success_msg: "idrac_telemetry_support validated"
  35. idrac_telemetry_support_fail_msg: "Failed. idrac_telemetry_support only accepts boolean
  36. values true or false"
  37. slurm_telemetry_support_success_msg: "slurm_telemetry_support validated"
  38. slurm_telemetry_support_fail_msg: "Failed. slurm_telemetry_support only accepts boolean
  39. values true or false"
  40. slurm_telemetry_idrac_support_success_msg: "slurm and idrac telemetry are supported"
  41. slurm_telemetry_idrac_support_fail_msg: "slurm telemetry is supported only when
  42. idrac_telemetry_support is true"
  43. timescaledb_success_msg: "Timescale DB name validated successfully"
  44. timescaledb_fail_msg: "Timescale DB name should have minimum length of 2"
  45. mysqldb_success_msg: "MySQL DB name validated successfully"
  46. mysqldb_fail_msg: "MySQL DB name should have minimum length of 2"
  47. # Usage: validate_login_vars.yml
  48. vault_filename: "{{ role_path }}/../../input_params/.login_vault_key"
  49. login_vars_fail_msg: "Username/password validation in telemetry_login_vars.yml failed. Please check the requirements."
  50. ctrl_plane_login_vault_filename: "{{ role_path }}/../../../control_plane/input_params/.login_vault_key"
  51. min_length_grafana: 5
  52. max_length: 30
  53. ctrl_plane_login_vars_fail_msg: "Incorrect grafana_username or grafana_password format provided
  54. in control_plane/login_vars.yml"
  55. # Usage: k8s_secrets.yml
  56. namespace: telemetry-and-visualizations
  57. secrets_name: credentials