19 lines
490 B
Plaintext
19 lines
490 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 %}
|
|
|
|
# {% if resolv_conf_use_openstack_settings and openstack_region_name is defined %}
|
|
# {% for ip in ['resolv_conf_ip_' + 'openstack_region_name'] %}
|
|
# nameserver {{ ip }}
|
|
# {% endfor %}
|
|
# {% else %}
|
|
|
|
{% for address in resolv_conf_ip %}
|
|
nameserver {{ address }}
|
|
{% endfor %}
|
|
|
|
# {% endif %}
|