From 2914caab1e9ae45f5027cf3f6a670db94c175ba3 Mon Sep 17 00:00:00 2001 From: Kyattsukuro Date: Fri, 9 Oct 2026 23:16:40 +0200 Subject: [PATCH] working: ansible for core services --- templates/compose.yml.j2 | 11 ++++++----- templates/traefik.yml.j2 | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/compose.yml.j2 b/templates/compose.yml.j2 index c803b9f..4f87e39 100644 --- a/templates/compose.yml.j2 +++ b/templates/compose.yml.j2 @@ -9,17 +9,18 @@ services: - exposed ports: - {{ traefik.http_port }}:{{ traefik.http_port }} - - {{ traefik.https_port }}:{{ traefik.https_port }} - {% for port in traefik.expose_additional_ports %} - - "{{ port }}" + + {% for port in traefik.expose_additional_ports -%} + - "{{ port }}:{{ port }}" {% endfor %} environment: - HETZNER_API_TOKEN={{ traefik.hetzner_api_token }} - {% if traefik.duckdns_api_token %} + {% if traefik.duckdns_api_token -%} - DUCKDNS_TOKEN={{ traefik.duckdns_api_token }} - {%- endif -%} + {% endif -%} + - AUTH_STRING={{ traefik.basic_auth_password }} - DUCKDNS_POLLING_INTERVAL=5 - DUCKDNS_PROPAGATION_TIMEOUT=120 diff --git a/templates/traefik.yml.j2 b/templates/traefik.yml.j2 index cee0b46..a1a7185 100644 --- a/templates/traefik.yml.j2 +++ b/templates/traefik.yml.j2 @@ -16,7 +16,8 @@ entryPoints: {% if 2022 in traefik.expose_additional_ports -%} public_ssh: address: ":2022" - {% endif -%} + {% endif %} + serversTransport: insecureSkipVerify: true providers: