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" path: "{{ path }}/config/dns"
state: directory state: directory
- name: ensure that path exists
file:
path: "{{ path }}/config/etc-dnsmasq.d"
state: directory
- name: template docker-compose - name: template docker-compose
template: template:
src: compose.yml.j2 src: compose.yml.j2

View File

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