resolv.conf.j2 303 B

123456789101112
  1. {% if ansible_prolog -%}
  2. {% from 'templates/ansible/prolog.j2' import prolog with context %}
  3. {{ prolog() }}
  4. {% endif -%}
  5. {% if with_dnscache|bool %}
  6. nameserver 127.0.0.1
  7. {% endif %}
  8. {% if nameservers is defined %}
  9. {% for nameserver in nameservers %}
  10. nameserver {{ nameserver }}
  11. {% endfor %}
  12. {% endif %}