ansible/roles/network/templates/resolved.conf.j2

7 lines
134 B
Django/Jinja

# {{ ansible_managed }}
[Resolve]
{% for ns in (network_nameservers | shuffle(seed=inventory_hostname)) %}
DNS={{ ns }}
{% endfor %}