From 754c521f0c4a67a16b162c4377983370a9a03fa2 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Mon, 11 May 2020 10:54:26 -0500 Subject: [PATCH] yaml set the variable wan_nameserver as 'null' without quotes then jinja converts that 'none' --- roles/network/templates/network/dnsmasq-iiab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/templates/network/dnsmasq-iiab b/roles/network/templates/network/dnsmasq-iiab index ecefeb359..ca3911e4f 100644 --- a/roles/network/templates/network/dnsmasq-iiab +++ b/roles/network/templates/network/dnsmasq-iiab @@ -1,7 +1,7 @@ #IIAB bind-interfaces # Wan nameserver if manually set -{% if wan_nameserver != "" %} +{% if wan_nameserver is not none %} no-resolv server={{ wan_nameserver }} {% endif %}