ansible-role-network/templates/resolv.conf.j2

8 lines
210 B
Text
Raw Normal View History

2021-08-24 17:40:28 +00:00
# {{ ansible_managed }}
{% if network_search_domains is defined %}
search {{ network_search_domains|join(' ') }}
{% endif %}
{% for nameserver in network_nameservers %}
nameserver {{ nameserver }}
{% endfor %}