telemetry.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. - name: Telemetry and visualization
  16. hosts: localhost
  17. connection: local
  18. gather_facts: false
  19. roles:
  20. - common
  21. - timescaledb
  22. - grafana_config
  23. - name: Get node inventory
  24. hosts: localhost
  25. gather_facts: false
  26. tasks:
  27. - name: Get node inventory
  28. include_role:
  29. name: slurm_telemetry
  30. tasks_from: get_node_inventory.yml
  31. tags: slurm_telemetry
  32. - name: Update slurm node IPs and service tags
  33. import_playbook: "{{ playbook_dir }}/roles/slurm_telemetry/files/update_service_tags.yml"
  34. tags: slurm_telemetry
  35. - name: Slurm Telemetry
  36. hosts: localhost
  37. connection: local
  38. gather_facts: false
  39. roles:
  40. - slurm_telemetry
  41. tags: slurm_telemetry