ansible-pihole/defaults/main.yml

28 lines
805 B
YAML
Raw Normal View History

2020-07-04 14:17:17 +00:00
---
2020-07-05 10:11:55 +00:00
# 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:
2020-07-05 10:12:10 +00:00
- "{{ pihole_host_dir_pihole }}:/etc/pihole/"
- "{{ pihole_host_dir_dnsmasqd }}:/etc/dnsmasq.d/"
2020-07-05 10:11:55 +00:00
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)}}'