From b064c60064926f983e962b4388879f8d0da389ee Mon Sep 17 00:00:00 2001 From: Bas Zoetekouw Date: Thu, 18 Jun 2026 14:46:14 +0200 Subject: [PATCH] use absolute haproxy weights --- roles/haproxy_mgnt/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/haproxy_mgnt/tasks/main.yml b/roles/haproxy_mgnt/tasks/main.yml index 84726d5f1..b6aea46cb 100644 --- a/roles/haproxy_mgnt/tasks/main.yml +++ b/roles/haproxy_mgnt/tasks/main.yml @@ -51,7 +51,7 @@ host: "{{ item.label }}" fail_on_not_found: true socket: /var/lib/haproxy/haproxy.stats - weight: "{{ item.weight }}%" + weight: "{{ item.weight }}" backend: "{{ app_name }}_be" with_items: "{{ server_labels_with_weights }}" register: "haproxy_weights"