blob: f19e8cc6d75abd1f77d6af18c1607170b76ad93e [file] [log] [blame]
Zack Williamsba5549c2017-03-25 15:04:45 -07001# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
2# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
3# Make changes to /etc/resolvconf/resolv.conf.d instead
4# Modified by Ansible
5{% if unbound_listen_on_default %}
6{% for host in groups['head'] %}
7nameserver {{ hostvars[host].ansible_default_ipv4.address }}
8{% endfor %}
9{% endif %}
10{% if dns_servers is defined %}
11{% for ns in dns_servers %}
12nameserver {{ ns }}
13{% endfor %}
14{% endif %}