systemd-resolve disable requires symlink change.
--- a/adguard-home/tasks/main.yaml Sun Jun 28 15:08:36 2020 -0500
+++ b/adguard-home/tasks/main.yaml Sun Jun 28 20:56:56 2020 -0500
@@ -48,6 +48,13 @@
become: yes
systemd: name="systemd-resolved.service" enabled="no" state="stopped"
+- name: replace systemd-resolved conf stub
+ become: yes
+ file:
+ src: "/run/systemd/resolve/resolv.conf"
+ dest: "/etc/resolv.conf"
+ state: "link"
+
- name: ensure adguard home is started
become: yes
systemd: name="AdGuardHome.service" enabled="yes" state="started"