commit 02c7f32a766bd57fe9349016da415044ac78884d
parent ca93f93935e3cb37b747a2b5823173adc1578fea
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 27 Feb 2021 14:37:07 +0100
parent ca93f93935e3cb37b747a2b5823173adc1578fea
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 27 Feb 2021 14:37:07 +0100
roles/dnsmasq: add no-hosts option
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/roles/dnsmasq/templates/dnsmasq.conf.j2 b/roles/dnsmasq/templates/dnsmasq.conf.j2 @@ -10,6 +10,10 @@ local-service no-resolv {% endif %} +{% if services.dnsmasq.no_hosts is defined and services.dnsmasq.no_hosts is true %} +no-hosts +{% endif %} + {% if services.dnsmasq.domain_needed is defined and services.dnsmasq.domain_needed is true %} domain-needed {% endif %}