src.nth.io/

summaryrefslogtreecommitdiff
path: root/adguard-home/tasks/main.yaml
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-06-28 12:27:27 -0500
committerLuke Hoersten <[email protected]>2020-06-28 12:27:27 -0500
commit371a74ade397e48cad83e50f645802bbfc22758e (patch)
treedd06b9a683bff954380b17aedf2e55ef6bd4a54a /adguard-home/tasks/main.yaml
parent8989df1d113e5c2e65941f28e4cc9811ac4c12e4 (diff)
Disable systemd-resolved to not conflict with adguard home.
Diffstat (limited to 'adguard-home/tasks/main.yaml')
-rw-r--r--adguard-home/tasks/main.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/adguard-home/tasks/main.yaml b/adguard-home/tasks/main.yaml
index 362db53..bd6ee4a 100644
--- a/adguard-home/tasks/main.yaml
+++ b/adguard-home/tasks/main.yaml
@@ -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"