# HG changeset patch # User Luke Hoersten # Date 1593395816 18000 # Node ID 376bb71909a41898f9566d5804f75b7abd0240f3 # Parent 1ea4f1c7c675cab88dcb256b3dd297e3d55bfcc9 systemd-resolve disable requires symlink change. diff -r 1ea4f1c7c675 -r 376bb71909a4 adguard-home/tasks/main.yaml --- 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"