--- 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"