From 3f7498da5ad0c01a5aef336ac6ea4c28c46bdef1 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 18 Jul 2022 12:49:53 +0300 Subject: [PATCH] Fix matrix_homeserver_admin_contacts example Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931 This does 2 things: - it fixes the syntax for `matrix_id`. Starting strings with `@` is invalid YAML, so such strings need to be wrapped in single or double quotes - it makes use of the `matrix_domain` variable instead of hardcoding the domain name. This should be more and mistake-proof (typos or people mistaking their domain - matrix. vs base domain) --- docs/configuring-well-known.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuring-well-known.md b/docs/configuring-well-known.md index d52bef73f..f9f086b0a 100644 --- a/docs/configuring-well-known.md +++ b/docs/configuring-well-known.md @@ -48,11 +48,11 @@ Example snippet for `vars.yml`: ``` # Homeserver admin contacts as per MSC 1929 https://github.com/matrix-org/matrix-spec-proposals/pull/1929 matrix_homeserver_admin_contacts: - - matrix_id: @admin1:domain.tld + - matrix_id: "@admin1:{{ matrix_domain }}" email_address: admin@domain.tld role: admin - - matrix_id: @admin2:domain.tld - email_address: admin@domain.tld + - matrix_id: "@admin2:{{ matrix_domain }}" + email_address: admin2@domain.tld role: admin - email_address: security@domain.tld role: security