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

19 lines
408 B
YAML
Raw Normal View History

2023-01-24 20:15:21 +00:00
- name: Include vault
include_vars: vault.yml
2023-01-08 18:36:03 +00:00
- name: Install internal alias config
template:
src: files/internal-alias.conf
dest: /etc/dnsmasq.d/internal-alias.conf
mode: 0644
notify: restart pihole FTL
become: true
2023-01-24 20:15:21 +00:00
- name: Install pihole config
template:
src: files/setup-vars.conf
dest: /etc/pihole/setupVars.conf
mode: 0644
notify: restart pihole FTL
become: true