infrastructure/ansible/roles/pihole/tasks/main.yml
Jake Howard 2af9f8529d
All checks were successful
/ terraform (push) Successful in 46s
/ ansible (push) Successful in 1m53s
Fix new ansible-lint errors
Quite a few changes here, hopefully they work!
2023-06-15 15:16:19 +01:00

19 lines
410 B
YAML

- name: Include vault
include_vars: vault.yml
- name: Install internal alias config
template:
src: files/internal-alias.conf
dest: /etc/dnsmasq.d/internal-alias.conf
mode: "644"
notify: restart pihole FTL
become: true
- name: Install pihole config
template:
src: files/setup-vars.conf
dest: /etc/pihole/setupVars.conf
mode: "644"
notify: restart pihole FTL
become: true