coa_shared: role — matou-infrastructure coa mode on matou, Caddy coa-infra.<domain>, ufw (coa phase-3 plan Task 16) #6
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/matou-distributed-servers#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan
https://git.matou.nz/Matou/coa/src/branch/main/docs/superpowers/plans/2026-08-31-coa-phase-3.md(inMatou/coa) — spechttps://git.matou.nz/Matou/coa/src/branch/main/docs/superpowers/specs/2026-08-31-coa-phase-3-design.md§3.6, ADR 0005. Session/human work (mds is not a factory consumer); patternroles/matou_forms.Deliverable
roles/coa_shared/{defaults/main.yml, tasks/main.yml, templates/coa-infra.caddy.j2, templates/anysync-config.env.j2, templates/keri-env-secrets.j2}(plan text): git checkout ofMatou/matou-infrastructureatcoa_shared_infra_refinto/opt/coa-shared/src, any-syncconfig.env(coa mode, external hostcoa-infra.<domain>),keri/.env.coaviagenerate-env.sh coawithCONFIG_PUBLIC_URL,keri/.env.secretswithCONFIG_ADMIN_TOKENfrom vaultcoa_config_admin_token,make up-coa, wait/probe127.0.0.1:5904, ufw tcp 5901–5903, 7642–7647, 9723, 3001–3006 + udp 3011–3016, Caddy snippetcoa-infra.<domain>→127.0.0.1:5904. Wired inplaybooks/host.ymlaftercoa(coa_shared_enabled, tagscoa_shared, routing);inventory/host_vars/matou.ymlcoa_shared_enabled: true+coa_shared_infra_ref;secrets.yml.examplegainscoa_config_admin_token,coa_shared_minio_access_key,coa_shared_minio_secret_key.Acceptance
make host LIMIT=matou --check --diff -t coa_sharedrenders cleanly; after the approved real run (coa Task 18b/19):curl https://coa-infra.<domain>/api/health200 and a tenant can be created with the vault token.depends_on
coamode (Task 15) merged and pinned incoa_shared_infra_ref.Depends on matou-infrastructure Matou/matou-infrastructure#5 (which depends on Matou/matou-infrastructure#4 and Matou/matou-infrastructure#3). Deploy proof: Matou/coa#81
Triaged
needs-triage→ready-for-session(no factory agent on this repo; protected host paths). Blocked on matou-infrastructure #5 (coaenvironment mode) forcoa_shared_infra_ref. Deploy itself is coa #79 door 18b. Plan: coa phase-3 Task 16.coa_sharedrole on matou + build/tenant env on thecoarole (plan Tasks 16–17) #10Session report (2026-09-01): done in PR #10 (branch
coa-phase-3).roles/coa_sharedas in the plan, wired aftercoa, enabled on matou withcoa_shared_infra_ref: ff581b7c(the tip of matou-infrastructure PR #6 = infra #3–#5; pushed to both remotes). One change of plan: Forgejo's matou-infrastructure is private, so the role clones the public GitLab remote anonymously — the pin must be on GitLab (mirror after merging infra PR #6).--check --diff -t coa_sharedagainst matou: ok=12 changed=8 failed=0. Real run is coa Task 18b/19. PR #10 needs a human merge, thengit push gitlab origin/main:main(GOTCHAS 12).Update: PR #10 is merged and
mainis mirrored to GitLab (GOTCHAS 12 done). No human merge needed after all.