Disable systemd-resolved to not conflict with adguard home.
--- 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"
--- 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}}"