resolv.conf.j2 293 B

12345678910111213
  1. {% if ansible_controlled is defined and ansible_controlled != "" %}
  2. #
  3. # {{ ansible_controlled }}
  4. #
  5. {% endif %}
  6. {% if with_dnscache|bool %}
  7. nameserver 127.0.0.1
  8. {% endif %}
  9. {% if nameservers is defined %}
  10. {% for nameserver in nameservers %}
  11. nameserver {{ nameserver }}
  12. {% endfor %}
  13. {% endif %}