Explorar el Código

Issue #722: Updated main.yml

Signed-off-by: blesson-james <blesson_james@Dellteam.com>
blesson-james hace 3 años
padre
commit
666f83f3ed
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      roles/k8s_start_services/tasks/main.yml

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

@@ -22,6 +22,13 @@
   include_tasks: check_k8s_pods.yml
   tags: install
 
+- 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 Nginx/Prometheus/Grafana
   include_tasks: configure_nginx_prom_grafana.yml
   when: