Replace pihole with adguardhome

AGH is much simpler to install and manage, and does DoH natively.
This commit is contained in:
Jake Howard
2024-01-01 15:48:14 +00:00
parent 6a14679edf
commit 5581bbc01a
12 changed files with 211 additions and 69 deletions

View File

@ -0,0 +1,17 @@
- name: Include vault
include_vars: vault.yml
- name: Install adguardhome
kewlfft.aur.aur:
name: adguardhome-bin
become: true
- name: Install config file
template:
src: files/adguardhome.yml
dest: /var/lib/adguardhome/AdGuardHome.yaml
validate: /var/lib/adguardhome/AdGuardHome --check-config --config %s
owner: root
mode: "0600"
notify: restart adguardhome
become: true