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 }}"