ansible-role-network/templates/resolv.conf.j2
2021-08-24 19:53:34 +02:00

7 lines
210 B
Django/Jinja

# {{ ansible_managed }}
{% if network_search_domains is defined %}
search {{ network_search_domains|join(' ') }}
{% endif %}
{% for nameserver in network_nameservers %}
nameserver {{ nameserver }}
{% endfor %}