equal
deleted
inserted
replaced
23 |
23 |
24 - name: ensure grafana is started |
24 - name: ensure grafana is started |
25 become: yes |
25 become: yes |
26 systemd: name="grafana-server.service" enabled="yes" state="started" |
26 systemd: name="grafana-server.service" enabled="yes" state="started" |
27 |
27 |
28 - name: install grafana prometheus data source |
28 ### TODO: This is broken and not sure why. Started having errors one day. I |
29 become: yes |
29 ### supect bug with anisble module |
30 grafana_datasource: |
30 # - name: install grafana prometheus data source |
31 name: "Prometheus" |
31 # become: yes |
32 ds_type: "prometheus" |
32 # grafana_datasource: |
33 ds_url: "http://localhost:9090" |
33 # name: "Prometheus" |
34 grafana_url: "http://localhost:3000" |
34 # ds_type: "prometheus" |
35 is_default: yes |
35 # ds_url: "http://localhost:9090" |
36 changed_when: false |
36 # grafana_url: "http://localhost:3000" |
|
37 # is_default: yes |
|
38 # changed_when: false |
37 |
39 |
38 - name: install grafana plugins |
40 - name: install grafana plugins |
39 become: yes |
41 become: yes |
40 grafana_plugin: name="{{item}}" |
42 grafana_plugin: name="{{item}}" |
41 loop: "{{prometheus_server_grafana_plugins}}" |
43 loop: "{{prometheus_server_grafana_plugins}}" |