ansible/roles/common/templates/resolv.conf.j2

9 lines
180 B
Django/Jinja

# {{ ansible_managed }}
{% for ns in resolv_nameserver %}
nameserver {{ ns }}
{% endfor %}
{% if resolv_options is defined %}
options {{ resolv_options | join(' ') }}
{% endif %}