From 6803c9c243cd10a66a0b608efcc8d36f93dcdae4 Mon Sep 17 00:00:00 2001 From: Adam Kowalik Date: Thu, 8 Aug 2024 17:31:14 +0200 Subject: [PATCH] Adding monitor-fail option. --- templates/etc/haproxy/haproxy-frontend.cfg.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/etc/haproxy/haproxy-frontend.cfg.j2 b/templates/etc/haproxy/haproxy-frontend.cfg.j2 index 7d900cf..703d947 100644 --- a/templates/etc/haproxy/haproxy-frontend.cfg.j2 +++ b/templates/etc/haproxy/haproxy-frontend.cfg.j2 @@ -44,6 +44,9 @@ frontend {{ name }} acl {{ acl }} {% endfor %} {% endif %} + {% if value.monitor_fail is defined %} + monitor fail {{ value.monitor_fail }} + {% endif %} {% if value.monitor_uri is defined %} monitor-uri {{ value.monitor_uri }} {% endif %}