From 214442b15fc4e3a3117b53b98edbd430ec0dd933 Mon Sep 17 00:00:00 2001 From: Daniel Jakots Date: Fri, 2 Jun 2017 12:08:59 -0400 Subject: [PATCH] unbreak and provide a possible fix though commented for now --- unbound/templates/unbound.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unbound/templates/unbound.conf.j2 b/unbound/templates/unbound.conf.j2 index 2e0c8da4..8603304d 100644 --- a/unbound/templates/unbound.conf.j2 +++ b/unbound/templates/unbound.conf.j2 @@ -15,7 +15,11 @@ server: # root-hints: "/var/unbound/etc/named.cache" # Uncomment to enable DNSSEC validation. +{% if ansible_os_family = "OpenBSD" %} auto-trust-anchor-file: "/var/unbound/db/root.key" +{% else %} + #auto-trust-anchor-file: "/etc/unbound/root.key" +{% endif %} # Serve zones authoritatively from Unbound to resolver clients. # Not for external service.