Move AdGuardHome configuration to Terraform

https://git.theorangeone.net/systems/adguardhome
This commit is contained in:
Jake Howard
2024-01-08 21:45:28 +00:00
parent ed59458f39
commit f33d19e156
5 changed files with 6 additions and 206 deletions

View File

@ -1,21 +1,8 @@
- 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
- name: Install coredns
kewlfft.aur.aur:
name: coredns