adguard-home/tasks/main.yaml
changeset 55 376bb71909a4
parent 53 9e4f750f5d36
child 122 cde9702e3bff
--- 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"