diff --git a/unbound/templates/unbound.conf.j2 b/unbound/templates/unbound.conf.j2 index 8603304d..2447ea41 100644 --- a/unbound/templates/unbound.conf.j2 +++ b/unbound/templates/unbound.conf.j2 @@ -15,7 +15,7 @@ server: # root-hints: "/var/unbound/etc/named.cache" # Uncomment to enable DNSSEC validation. -{% if ansible_os_family = "OpenBSD" %} +{% if ansible_os_family == "OpenBSD" %} auto-trust-anchor-file: "/var/unbound/db/root.key" {% else %} #auto-trust-anchor-file: "/etc/unbound/root.key"