Make the first admin matrix_admin, the bridges' and bots' administrator

Meowlnir's playbook run fails when its management room has nobody to
invite, which comes from matrix_admin, and baibot and the bridges take
their administrator from it too. Synapse and Dendrite create this
account, so it's the one to use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vvvomitandClaude Opus 5.5 committed 2026-10-29 17:38:19 +03:30
1 parent 715017edc3
commit b84127d543
4 files changed
+5 -3

No files matched your search

+2
View File
@@ -255,6 +255,8 @@ tls:
case "synapse", "dendrite":
w.block("matrix_user_creator_users_additional", fmt.Sprintf("- username: %s\n initial_password: %s\n initial_type: admin",
Quote(c.AdminUser), Quote(c.AdminPassword)))
w.comment("Bridges and bots take it as their administrator; Meowlnir's management room needs one.")
w.raw("matrix_admin", Quote("@"+c.AdminUser+":{{ matrix_domain }}"))
if c.UsesMAS() {
if c.Signup {
w.comment("Anyone with the sign-up token can create an account; no email is asked")
+1 -1
View File
@@ -30,7 +30,7 @@
│ ││ │
│ ││ ╭────────────────────────────────────────────────────────────────────────────────────╮ │
│ ◫ auto (wide) ctrl+l ││ │ vars.yml preview │ │
│ ◐ interzone ctrl+y ││ ▼ 42 more · ↑↓ scroll │
│ ◐ interzone ctrl+y ││ ▼ 44 more · ↑↓ scroll │
│ ◂ fold ctrl+b menu ││ │
╰────────────────────────╯╰────────────────────────────────────────────────────────────────────────────────────────────╯
enter deploy · c stop checking · v details · z DNS records · ↑↓ scroll · s save files only · esc back · ? all keys
+1 -1
View File
@@ -36,5 +36,5 @@
╭──────────────────────────────────────────╮
│ vars.yml preview │
│ # Generated by interzone on 0000-00-00 0 │
▼ 41 more · ↑↓ scroll
▼ 43 more · ↑↓ scroll
‹ back ≡ menu deploy › ⋯
+1 -1
View File
@@ -16,5 +16,5 @@
Pre-deploy checks
⠋ checking the server… 0s c stop
▼ 60 more · ↑↓ scroll
▼ 62 more · ↑↓ scroll
‹ back ≡ menu deploy › ⋯