ansible-pihole/defaults/main.yml
2022-04-09 08:47:48 +02:00

33 lines
919 B
YAML

---
# defaults file for ansible-pihole
pihole_container_name: pihole
pihole_image_name: pihole/pihole:latest
pihole_admin_password:
pihole_host_dir_dnsmasqd: /etc/docker-{{pihole_container_name}}/dnsmasq.d/
pihole_host_dir_pihole: /etc/docker-{{pihole_container_name}}/pihole/
pihole_volumes:
- "{{ pihole_host_dir_pihole }}:/etc/pihole/"
- "{{ pihole_host_dir_dnsmasqd }}:/etc/dnsmasq.d/"
pihole_http_port: 8090
pihole_port:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "{{pihole_http_port}}:80/tcp"
pihole_forwarder1: "1.1.1.1"
pihole_forwarder2: "80.67.169.40"
pihole_timezone: "Europe/Paris"
pihole_local_domain:
- domain: local.lan
resolver: "{{ pihole_local_resolver }}"
- domain: "1.168.192.in-addr.arpa"
resolver: "{{ pihole_local_resolver }}"
pihole_local_resolver:
pihole_dns_servers:
- "127.0.0.1"
- "{{pihole_local_resolver | default(1.1.1.1)}}"
pihole_update_container: false