ansible-pihole/defaults/main.yml

33 lines
919 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"
2022-04-09 06:47:48 +00:00
pihole_forwarder1: "1.1.1.1"
pihole_forwarder2: "80.67.169.40"
2020-07-05 10:11:55 +00:00
pihole_timezone: "Europe/Paris"
2022-04-09 06:47:48 +00:00
pihole_local_domain:
- domain: local.lan
resolver: "{{ pihole_local_resolver }}"
- domain: "1.168.192.in-addr.arpa"
resolver: "{{ pihole_local_resolver }}"
2020-07-05 10:11:55 +00:00
pihole_local_resolver:
pihole_dns_servers:
2022-04-09 06:47:48 +00:00
- "127.0.0.1"
- "{{pihole_local_resolver | default(1.1.1.1)}}"
pihole_update_container: false