GNAI-025: compose-Adaption für podman-compose 1.3.0 — seaweedfs-init-Bedingung service_completed_successfully -> service_started (sonst starten api/worker/admin nie)
Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user