infrastructure/ansible/roles/adguardhome/tasks/main.yml

19 lines
347 B
YAML
Raw Normal View History

- name: Install adguardhome
kewlfft.aur.aur:
name: adguardhome-bin
become: true
- name: Install coredns
kewlfft.aur.aur:
name: coredns
become: true
- name: Install coredns config file
template:
src: files/Corefile
dest: /etc/coredns/Corefile
owner: coredns
mode: "0644"
notify: restart coredns
become: true