Prechádzať zdrojové kódy

Issue #722: Updated main.yml

Signed-off-by: blesson-james <blesson_james@Dellteam.com>
blesson-james 3 rokov pred
rodič
commit
ae94749471
1 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 7 0
      roles/slurm_exporter/tasks/main.yml

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

@@ -38,6 +38,13 @@
     - "'kubernetes' in ansible_skip_tags"
     - "'No such file' in k8s_installation_status.stderr"
 
+- name: Install community.grafana collection
+  command: ansible-galaxy collection install community.grafana
+  changed_when: True
+  tags: install
+  delegate_to: localhost
+  when: hostvars['127.0.0.1']['control_plane_status']
+
 - name: Configure grafana dashboard
   include_tasks: configure_grafana.yml
   when: