From b425f3b482eca9a06230bef936f7bb7b7ab05526 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sat, 5 Oct 2024 19:27:36 +0200 Subject: [PATCH] kea: don't configure HA unless needed --- roles/kea/templates/kea/kea-dhcp4.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/kea/templates/kea/kea-dhcp4.conf.j2 b/roles/kea/templates/kea/kea-dhcp4.conf.j2 index ab0cffd..7a64253 100644 --- a/roles/kea/templates/kea/kea-dhcp4.conf.j2 +++ b/roles/kea/templates/kea/kea-dhcp4.conf.j2 @@ -24,6 +24,7 @@ "hooks-libraries": [ { "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so" +{% if dhcpd_failover %} }, { @@ -51,6 +52,7 @@ ] } ] } +{% endif %} } ],