src.nth.io/

summaryrefslogtreecommitdiff
path: root/adguard-home
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-06-28 20:56:56 -0500
committerLuke Hoersten <[email protected]>2020-06-28 20:56:56 -0500
commitb4c42a383953a34d6ff8091caf6e6bd34776b0c6 (patch)
tree65b9647713c50aeedb8daa1611e29e0df86983e6 /adguard-home
parente545733b642740156e4b1c0de9c3bf79d84a17d8 (diff)
systemd-resolve disable requires symlink change.
Diffstat (limited to 'adguard-home')
-rw-r--r--adguard-home/tasks/main.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/adguard-home/tasks/main.yaml b/adguard-home/tasks/main.yaml
index bd6ee4a..6be6ac5 100644
--- a/adguard-home/tasks/main.yaml
+++ b/adguard-home/tasks/main.yaml
@@ -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"