main.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright 2020 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: install_slurm_exporter.yml
  16. installation_dir: "/var/lib/"
  17. slurm_exporter_inst_dir: "/var/lib/slurm-exporter"
  18. go_pack_url: "https://dl.google.com/go/go1.15.linux-amd64.tar.gz"
  19. extended_path: "{{ installation_dir }}/go/bin"
  20. go_exec_path: "{{ installation_dir }}/go/bin/go"
  21. slurm_exporter_git_repo: "https://github.com/vpenso/prometheus-slurm-exporter.git"
  22. go_modules_path: "{{ slurm_exporter_inst_dir }}/go/modules"
  23. slurm_exporter_exec: "{{ slurm_exporter_inst_dir }}/bin/prometheus-slurm-exporter"
  24. system_path: "/usr/bin"
  25. stable_commit_id: "00a7dee"
  26. #Usage: install_prometheus.yml
  27. prometheus_git_repo: "https://github.com/prometheus/prometheus/releases/download/v2.23.0/prometheus-2.23.0.linux-amd64.tar.gz"
  28. prometheus_inst_path: "/var/lib/prometheus-2.23.0.linux-amd64/"
  29. prometheus_exec_path: "{{ prometheus_inst_path }}/prometheus"
  30. system_local_path: "/usr/local/bin"
  31. prometheus_config_file: "{{ prometheus_inst_path }}/prometheus.yml"
  32. #Usage: start_service.yml
  33. file_permission: "0755"
  34. systemd_path_dest: "/etc/systemd/system/"
  35. slurm_exporter_port: "8081"
  36. #Usage: configure_prometheus_pod.yml
  37. slurm_config_file: "slurm_exporter_config.yaml"