blob: 0235b8a006894f987b57f8850abbaa23a21679dd [file] [log] [blame]
Andy Baviera17d84b2016-11-16 09:39:26 -08001# The primary network interface
2auto eth0
3iface eth0 inet dhcp
4{% if unbound_listen_on_default %}
5 dns-nameservers{% for host in groups['head'] %} {{ hostvars[host].ansible_default_ipv4.address }}{% endfor %}
6{% endif %}
7{% if dns_servers is defined %}
8 dns-nameservers{% for ns in dns_servers %} {{ ns }}{% endfor %}
9{% endif %}
10{% if dns_search is defined %}
11 dns-search{% for searchdom in dns_search %} {{ searchdom }}{% endfor %}
12{% endif %}