coa: Ansible role for coa.<domain> (checkout-backed server + site, Caddy, SMTP, mesh git-SSH) #4

Merged
ben merged 1 commit from coa-role into main 2026-08-31 03:11:32 +00:00
Owner

Phase-2 plan Task 11, adapted to coa#38's outcome:

  • Deploy key over mesh git-SSH (elitebook-distributed-server-01:2222) instead of an HTTPS token file — vault coa_forgejo_deploy_key, installed to /opt/coa/ssh/id_ed25519, host key pinned via ssh-keyscan; image gets openssh-client.
  • Commit identity via GIT_AUTHOR_*/GIT_COMMITTER_* env (no git_config dependency).
  • tls { dns acmedns … } block copied from matou-forms.caddy.j2 (subdomain cert).
  • API binds loopback via COA_HOST=127.0.0.1 (coa-side change, PR in Matou/coa).

--syntax-check passes; --check --diff -l matou -t coa renders everything up to the checkout, which fails only because check mode can't become_user: coa before the user exists. Real run is coa#39 (session).

closes #3

Phase-2 plan Task 11, adapted to coa#38's outcome: - **Deploy key over mesh git-SSH** (`elitebook-distributed-server-01:2222`) instead of an HTTPS token file — vault `coa_forgejo_deploy_key`, installed to `/opt/coa/ssh/id_ed25519`, host key pinned via `ssh-keyscan`; image gets `openssh-client`. - Commit identity via `GIT_AUTHOR_*`/`GIT_COMMITTER_*` env (no `git_config` dependency). - `tls { dns acmedns … }` block copied from `matou-forms.caddy.j2` (subdomain cert). - API binds loopback via `COA_HOST=127.0.0.1` (coa-side change, PR in Matou/coa). `--syntax-check` passes; `--check --diff -l matou -t coa` renders everything up to the checkout, which fails only because check mode can't `become_user: coa` before the user exists. Real run is coa#39 (session). closes #3
ben merged commit 3604324615 into main 2026-08-31 03:11:32 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/matou-distributed-servers!4
No description provided.