main.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. base_vars_file: "{{ role_path }}/../../input_params/base_vars.yml"
  18. login_vars_file: "{{ role_path }}/../../input_params/login_vars.yml"
  19. ctrl_plane_login_vars_filename: "{{ role_path }}/../../../control_plane/input_params/login_vars.yml"
  20. fail_msg_base_vars: "telemetry/base_vars.yml file doesn't exist."
  21. fail_msg_login_vars: "telemetry/login_vars.yml file doesn't exist."
  22. ctrl_plane_fail_msg_login_vars: "control_plane/login_vars.yml file doesn't exist"
  23. #Usage: validate_base_vars.yml
  24. folder_perm: '644'
  25. vault_file_perm: '0644'
  26. idrac_telemetry_support_success_msg: "idrac_telemetry_support validated"
  27. idrac_telemetry_support_fail_msg: "Failed. idrac_telemetry_support only accepts boolean
  28. values true or false"
  29. slurm_telemetry_support_success_msg: "slurm_telemetry_support validated"
  30. slurm_telemetry_support_fail_msg: "Failed. slurm_telemetry_support only accepts boolean
  31. values true or false"
  32. slurm_telemetry_idrac_support_success_msg: "slurm and idrac telemetry are supported"
  33. slurm_telemetry_idrac_support_fail_msg: "slurm telemetry is supported only when
  34. idrac_telemetry_support is true"
  35. timescaledb_success_msg: "Timescale DB name validated successfully"
  36. timescaledb_fail_msg: "Timescale DB name should have minimum length of 2"
  37. mysqldb_success_msg: "MySQL DB name validated successfully"
  38. mysqldb_fail_msg: "MySQL DB name should have minimum length of 2"
  39. # Usage: validate_login_vars.yml
  40. vault_filename: "{{ role_path }}/../../input_params/.login_vault_key"
  41. login_vars_fail_msg: "Usernames and passwords in input_params/login_vars.yml should have minimum length 2"
  42. ctrl_plane_login_vault_filename: "{{ role_path }}/../../../control_plane/input_params/.login_vault_key"
  43. min_length_grafana: 5
  44. max_length: 30
  45. ctrl_plane_login_vars_fail_msg: "Incorrect grafana_username or grafana_password format provided
  46. in control_plane/login_vars.yml"
  47. # Usage: k8s_secrets.yml
  48. namespace: telemetry-and-visualizations
  49. secrets_name: credentials