Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 1 | # 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'] %} |
| 7 | nameserver {{ hostvars[host].ansible_default_ipv4.address }} |
| 8 | {% endfor %} |
| 9 | {% endif %} |
| 10 | {% if dns_servers is defined %} |
| 11 | {% for ns in dns_servers %} |
| 12 | nameserver {{ ns }} |
| 13 | {% endfor %} |
| 14 | {% endif %} |