main.yml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. pip_packages:
  24. - openshift
  25. - omsdk
  26. - PyMySQL
  27. mysqldb_collection_name: community.mysql:3.1.0
  28. #Usage: validate_base_vars.yml
  29. folder_perm: '644'
  30. vault_file_perm: '0644'
  31. idrac_telemetry_support_success_msg: "idrac_telemetry_support validated"
  32. idrac_telemetry_support_fail_msg: "Failed. idrac_telemetry_support only accepts boolean
  33. values true or false"
  34. slurm_telemetry_support_success_msg: "slurm_telemetry_support validated"
  35. slurm_telemetry_support_fail_msg: "Failed. slurm_telemetry_support only accepts boolean
  36. values true or false"
  37. slurm_telemetry_idrac_support_success_msg: "slurm and idrac telemetry are supported"
  38. slurm_telemetry_idrac_support_fail_msg: "slurm telemetry is supported only when
  39. idrac_telemetry_support is true"
  40. timescaledb_success_msg: "Timescale DB name validated successfully"
  41. timescaledb_fail_msg: "Timescale DB name should have minimum length of 2"
  42. mysqldb_success_msg: "MySQL DB name validated successfully"
  43. mysqldb_fail_msg: "MySQL DB name should have minimum length of 2"
  44. # Usage: validate_login_vars.yml
  45. vault_filename: "{{ role_path }}/../../input_params/.login_vault_key"
  46. login_vars_fail_msg: "Usernames and passwords in input_params/login_vars.yml should have minimum length 2"
  47. ctrl_plane_login_vault_filename: "{{ role_path }}/../../../control_plane/input_params/.login_vault_key"
  48. min_length_grafana: 5
  49. max_length: 30
  50. ctrl_plane_login_vars_fail_msg: "Incorrect grafana_username or grafana_password format provided
  51. in control_plane/login_vars.yml"
  52. # Usage: k8s_secrets.yml
  53. namespace: telemetry-and-visualizations
  54. secrets_name: credentials