# HG changeset patch # User Luke Hoersten # Date 1593365247 18000 # Node ID 9e4f750f5d369b81d232975ef76502f18a24533d # Parent 5a5071d4eaad912644df6a62d5f2ff519e74a6c7 Disable systemd-resolved to not conflict with adguard home. diff -r 5a5071d4eaad -r 9e4f750f5d36 adguard-home/tasks/main.yaml --- a/adguard-home/tasks/main.yaml Sun Jun 28 10:32:15 2020 -0500 +++ b/adguard-home/tasks/main.yaml Sun Jun 28 12:27:27 2020 -0500 @@ -44,6 +44,10 @@ template: src="AdGuardHome.yaml.j2" dest="/etc/AdGuardHome/AdGuardHome.yaml" notify: restart adguard home +- name: disable systemd-resolved service + become: yes + systemd: name="systemd-resolved.service" enabled="no" state="stopped" + - name: ensure adguard home is started become: yes systemd: name="AdGuardHome.service" enabled="yes" state="started" diff -r 5a5071d4eaad -r 9e4f750f5d36 prometheus/server/tasks/main.yaml --- a/prometheus/server/tasks/main.yaml Sun Jun 28 10:32:15 2020 -0500 +++ b/prometheus/server/tasks/main.yaml Sun Jun 28 12:27:27 2020 -0500 @@ -21,6 +21,10 @@ - restart prometheus service - restart grafana service +- name: ensure grafana is started + become: yes + systemd: name="grafana-server.service" enabled="yes" state="started" + - name: install grafana prometheus data source become: yes grafana_datasource: @@ -43,9 +47,9 @@ mode: "0640" loop: "{{prometheus_server_grafana_dashboards}}" -- name: install grafana dashboards - become: yes - grafana_dashboard: - grafana_url: "http://localhost:3000" - path: "/tmp/{{item}}" - loop: "{{prometheus_server_grafana_dashboards}}" +# - name: install grafana dashboards +# become: yes +# grafana_dashboard: +# grafana_url: "http://localhost:3000" +# path: "/tmp/{{item}}" +# loop: "{{prometheus_server_grafana_dashboards}}"