ensure dmasq_d is enabled

This commit is contained in:
Kyattsukuro 2026-11-17 18:52:28 +01:00
parent cb3ed889db
commit 8cc76ce59a
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,11 @@
path: "{{ path }}/config/dns"
state: directory
- name: ensure that path exists
file:
path: "{{ path }}/config/etc-dnsmasq.d"
state: directory
- name: template docker-compose
template:
src: compose.yml.j2

View File

@ -10,6 +10,7 @@ services:
TZ: 'Europe/Berlin'
FTLCONF_webserver_api_password: '{{ dns.api_key }}'
FTLCONF_dns_listeningMode: 'ALL' # recomendet for docker bridge
FTLCONF_misc.dnsmasq_d: 'true'
volumes:
- './data/pihole:/etc/pihole'
- './config/etc-dnsmasq.d:/etc/dnsmasq.d'