2024-01-01 15:48:14 +00:00
|
|
|
- name: Install adguardhome
|
2024-11-25 19:55:51 +00:00
|
|
|
package:
|
|
|
|
name: adguardhome
|
2024-01-01 15:48:14 +00:00
|
|
|
|
2024-01-10 13:28:45 +00:00
|
|
|
- name: Disable resolved stub
|
|
|
|
template:
|
|
|
|
src: files/resolved-adguardhome.conf
|
|
|
|
dest: /etc/systemd/resolved.conf.d/adguardhome.conf
|
|
|
|
owner: root
|
|
|
|
mode: "0644"
|
|
|
|
notify: restart systemd-resolved
|
|
|
|
|
|
|
|
- name: Use resolved resolv.conf
|
|
|
|
file:
|
|
|
|
src: /run/systemd/resolve/resolv.conf
|
|
|
|
dest: /etc/resolv.conf
|
|
|
|
state: link
|
|
|
|
notify: restart systemd-resolved
|
|
|
|
|
2024-01-02 17:48:47 +00:00
|
|
|
- name: Install coredns
|
|
|
|
kewlfft.aur.aur:
|
|
|
|
name: coredns
|
|
|
|
|
|
|
|
- name: Install coredns config file
|
|
|
|
template:
|
|
|
|
src: files/Corefile
|
|
|
|
dest: /etc/coredns/Corefile
|
|
|
|
owner: coredns
|
|
|
|
mode: "0644"
|
|
|
|
notify: restart coredns
|