prometheus/server/tasks/main.yaml
changeset 181 2b30d081dd9b
parent 54 1ea4f1c7c675
child 187 0f3a64c60ec5
--- a/prometheus/server/tasks/main.yaml	Wed May 25 18:56:05 2022 -0500
+++ b/prometheus/server/tasks/main.yaml	Sat Jul 02 15:37:26 2022 -0500
@@ -25,15 +25,17 @@
   become: yes
   systemd: name="grafana-server.service" enabled="yes" state="started"
 
-- name: install grafana prometheus data source
-  become: yes
-  grafana_datasource:
-    name: "Prometheus"
-    ds_type: "prometheus"
-    ds_url: "http://localhost:9090"
-    grafana_url: "http://localhost:3000"
-    is_default: yes
-  changed_when: false
+### TODO: This is broken and not sure why. Started having errors one day. I
+### supect bug with anisble module
+# - name: install grafana prometheus data source
+#   become: yes
+#   grafana_datasource:
+#     name: "Prometheus"
+#     ds_type: "prometheus"
+#     ds_url: "http://localhost:9090"
+#     grafana_url: "http://localhost:3000"
+#     is_default: yes
+#   changed_when: false
 
 - name: install grafana plugins
   become: yes