diff --git a/roles/haproxy/templates/haproxy.cfg.j2 b/roles/haproxy/templates/haproxy.cfg.j2 index 21a8c8c..62d2d98 100644 --- a/roles/haproxy/templates/haproxy.cfg.j2 +++ b/roles/haproxy/templates/haproxy.cfg.j2 @@ -50,8 +50,9 @@ listen kubernetes listen gitea bind *:2222 + tcp-check expect string SSH-2.0- mode tcp balance roundrobin {% for node in groups['kube-workers'] %} - server {{node}} {{ hostvars[node]['ansible_host'] }}:2222 check fall 3 inter 3s rise 2 + server {{node}} {{ hostvars[node]['ansible_host'] }}:2222 check {% endfor %}