diff options
| author | Luke Hoersten <[email protected]> | 2020-06-28 20:56:56 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-06-28 20:56:56 -0500 |
| commit | b4c42a383953a34d6ff8091caf6e6bd34776b0c6 (patch) | |
| tree | 65b9647713c50aeedb8daa1611e29e0df86983e6 | |
| parent | e545733b642740156e4b1c0de9c3bf79d84a17d8 (diff) | |
systemd-resolve disable requires symlink change.
| -rw-r--r-- | adguard-home/tasks/main.yaml | 7 |
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" |
