mirror of
https://github.com/jimeh/ansible-adguardhome.git
synced 2026-02-18 22:56:39 +00:00
15 lines
348 B
YAML
15 lines
348 B
YAML
---
|
|
- name: Disable DNSStubListener
|
|
ini_file:
|
|
path: /etc/systemd/resolved.conf
|
|
section: Resolve
|
|
option: DNSStubListener
|
|
value: "no"
|
|
notify: restart systemd-resolved
|
|
|
|
- name: Symlink /etc/resolv.conf to /run/systemd/resolve/resolv.conf
|
|
file:
|
|
src: /run/systemd/resolve/resolv.conf
|
|
dest: /etc/resolv.conf
|
|
state: link
|