From bd71869e2bed53bc259357a7e30b9e59366b9a7d Mon Sep 17 00:00:00 2001 From: Sascha Biberhofer Date: Mon, 22 Jan 2018 12:05:13 +0100 Subject: [PATCH] resolv.conf: remove internal/local blurb from the resolv.conf.j2 template --- templates/resolv.conf.j2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/resolv.conf.j2 b/templates/resolv.conf.j2 index 13c52d4..fa71cab 100644 --- a/templates/resolv.conf.j2 +++ b/templates/resolv.conf.j2 @@ -3,9 +3,6 @@ {% if common_resolvconf_domain -%} domain {{ common_resolvconf_domain }} {% endif %} -{% if ansible_local is defined and ansible_local.hardwarenode.hnfqdn and common_resolvconf_hnfqdn -%} -nameserver {{ lookup('dig', ansible_local.hardwarenode.hnfqdn ) }} -{% endif %} {% for nameserver in common_resolvconf_nameservers -%} nameserver {{ nameserver }} {% endfor %}