ansible-roles/ubuntu-deb-general/templates/resolv.conf

10 lines
274 B
Plaintext

{% if resolv_conf_domain is defined %}
domain {{ resolv_conf_domain }}
{% endif %}
{% if resolv_conf_search is defined %}
search {% for dom in resolv_conf_search %} {{ dom }}{% endfor %}
{% endif %}
{% for address in resolv_conf_ip %}
nameserver {{ address }}
{% endfor %}