From c18487ac23d6b749444a2cac73e1e1e9ecdf0d2e Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 5 Aug 2026 23:21:16 +0200 Subject: [PATCH] pasre WEB_IPS as json --- roles/traefik/templates/dynamic-hosts.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/traefik/templates/dynamic-hosts.yml.j2 b/roles/traefik/templates/dynamic-hosts.yml.j2 index eda70ee..9157930 100644 --- a/roles/traefik/templates/dynamic-hosts.yml.j2 +++ b/roles/traefik/templates/dynamic-hosts.yml.j2 @@ -14,7 +14,7 @@ http: retailor-web-svc: loadBalancer: servers: -{% for web_ip in env_vars.WEB_IPS %} +{% for web_ip in env_vars.WEB_IPS | from_json %} - url: "http://{{ web_ip }}:80" {% endfor %}