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

19 lines
410 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: "644"
2023-01-08 18:36:03 +00:00
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: "644"
2023-01-24 20:15:21 +00:00
notify: restart pihole FTL
become: true