main.yml 3.0 KB

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