11 lines
309 B
Django/Jinja
11 lines
309 B
Django/Jinja
{{ ansible_managed | comment }}
|
|
|
|
{% for nameserver in resolvconf__nameservers %}
|
|
nameserver {{ nameserver | ipaddr }}
|
|
{% endfor %}
|
|
{% if resolvconf__domain is defined %}
|
|
domain {{ resolvconf__domain }}
|
|
{% endif %}
|
|
{% if resolvconf__search is defined %}
|
|
search {{ resolvconf__search | join(" ") }}
|
|
{% endif %}
|