From 71a87e1bc9642069cc633f2213cf2a68d0967a4e Mon Sep 17 00:00:00 2001 From: Daniel Hoffend Date: Fri, 24 Mar 2023 13:44:06 +0100 Subject: [PATCH] Support virtualserver/inhibit_on_failure --- templates/keepalived-virtual-server.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/keepalived-virtual-server.j2 b/templates/keepalived-virtual-server.j2 index 16b2cb3..9501c17 100644 --- a/templates/keepalived-virtual-server.j2 +++ b/templates/keepalived-virtual-server.j2 @@ -13,4 +13,7 @@ protocol {{ vserver.protocol | default ('TCP') }} {% if vserver.ha_suspend is defined and vserver.ha_suspend %} ha_suspend - {% endif %} \ No newline at end of file + {% endif %} + {% if vserver.inhibit_on_failure is defined and vserver.inhibit_on_failure %} + inhibit_on_failure + {% endif %}