src.nth.io/

summaryrefslogtreecommitdiff
path: root/prometheus
diff options
context:
space:
mode:
Diffstat (limited to 'prometheus')
-rw-r--r--prometheus/server/tasks/main.yaml20
1 files changed, 11 insertions, 9 deletions
diff --git a/prometheus/server/tasks/main.yaml b/prometheus/server/tasks/main.yaml
index 10d67a5..ae66ffe 100644
--- a/prometheus/server/tasks/main.yaml
+++ b/prometheus/server/tasks/main.yaml
@@ -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