Kaynağa Gözat

Issue #686: Updated main.yml

Signed-off-by: blesson-james <blesson_james@Dellteam.com>
blesson-james 3 yıl önce
ebeveyn
işleme
abce93679f
1 değiştirilmiş dosya ile 7 ekleme ve 1 silme
  1. 7 1
      roles/slurm_exporter/tasks/main.yml

+ 7 - 1
roles/slurm_exporter/tasks/main.yml

@@ -1,4 +1,4 @@
-# Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved.
+# Copyright 2022 Dell Inc. or its subsidiaries. All Rights Reserved.
 #
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -37,3 +37,9 @@
   when:
     - "'kubernetes' in ansible_skip_tags"
     - "'No such file' in k8s_installation_status.stderr"
+
+- name: Configure grafana dashboard
+  include_tasks: configure_grafana.yml
+  when:
+    - grafana_svc_ip != ""
+    - grafana_svc_port != ""