--- # ============================================================================ # honcho / main entrypoint # ---------------------------------------------------------------------------- # Order matters: # 1. Podman + Quadlet support installed and ready # 2. Network created (containers reference it by name) # 3. Volumes created (postgres data) # 4. Postgres started (Honcho API + deriver depend on it being ready) # 5. Honcho API started # 6. Honcho deriver worker started # 7. Verify reachable on listen port # ============================================================================ - name: Install Podman and dependencies ansible.builtin.import_tasks: podman.yml tags: [honcho, podman] - name: Ensure podman network exists ansible.builtin.import_tasks: network.yml tags: [honcho, network] - name: Ensure podman volumes exist ansible.builtin.import_tasks: volumes.yml tags: [honcho, volumes] - name: Deploy PostgreSQL (pgvector) container ansible.builtin.import_tasks: postgres.yml tags: [honcho, postgres] - name: Deploy Honcho API container ansible.builtin.import_tasks: api.yml tags: [honcho, api] - name: Deploy Honcho deriver worker ansible.builtin.import_tasks: deriver.yml when: honcho_deriver_enabled | bool tags: [honcho, deriver] - name: Verify Honcho is reachable ansible.builtin.import_tasks: verify.yml tags: [honcho, verify]