From 5213ff97a2d967e2c5c734330cf54c8e1133a059 Mon Sep 17 00:00:00 2001 From: spektr Date: Mon, 30 Nov 2026 02:06:04 +0100 Subject: [PATCH] =?UTF-8?q?GNAI-025:=20compose-Adaption=20f=C3=BCr=20podma?= =?UTF-8?q?n-compose=201.3.0=20=E2=80=94=20seaweedfs-init-Bedingung=20serv?= =?UTF-8?q?ice=5Fcompleted=5Fsuccessfully=20->=20service=5Fstarted=20(sons?= =?UTF-8?q?t=20starten=20api/worker/admin=20nie)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- .../ansible/roles/fluxer_stack/tasks/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/tasks/main.yml b/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/tasks/main.yml index 57f96ed..085c7e4 100644 --- a/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/tasks/main.yml +++ b/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/tasks/main.yml @@ -54,6 +54,19 @@ sha256 {{ fluxer_stack_compose_sha256 }}) is verified on the real run when: ansible_check_mode +- name: Adapt the pinned compose for podman-compose 1.3.0 (recorded local transformation) + # podman-compose 1.3.0 cannot satisfy `service_completed_successfully` — + # api/worker/admin stay "Created" forever although seaweedfs-init exited 0. + # The S3 buckets persist in the seaweedfs-data volume; on a truly fresh + # volume the api self-heals via restart: unless-stopped while init runs. + ansible.builtin.replace: + path: "{{ fluxer_stack_compose_file }}" + replace: "seaweedfs-init: {condition: service_started}" + regexp: 'seaweedfs-init: \{condition: service_completed_successfully\}' + when: not ansible_check_mode + notify: + - Restart the Fluxer stack + - name: Fetch the pinned upstream livekit.yaml (SHA-256-verifiziert) ansible.builtin.get_url: url: "{{ fluxer_stack_compose_url | dirname }}/{{ fluxer_stack_livekit_path | basename }}"