ansible-pihole/defaults/main.yml
2020-07-05 12:12:10 +02:00

28 lines
805 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: pihole.lan
pihole_local_reverse_domain: '1.168.192.in-addr.arpa'
pihole_local_resolver:
pihole_dns_servers:
- '127.0.0.1'
- '{{pihole_local_resolver | default(1.1.1.1)}}'