resolv.conf: remove internal/local blurb from the resolv.conf.j2 template

This commit is contained in:
Sascha Biberhofer
2018-01-22 12:05:13 +01:00
parent 18f1345f0a
commit bd71869e2b

View File

@@ -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 %}