From 38a1d61c3f96f94953e78d8ca726d397d1f00ff6 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Wed, 25 Dec 2024 23:15:39 -0500 Subject: [PATCH] Rename sygnal.yaml.j2 to config.yaml.j2 There does not seem to exist other yaml.j2 files, which would be named after the servive. Signed-off-by: Suguru Hirahara --- docs/configuring-playbook-sygnal.md | 2 +- roles/custom/matrix-sygnal/defaults/main.yml | 2 +- .../matrix-sygnal/templates/{sygnal.yaml.j2 => config.yaml.j2} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename roles/custom/matrix-sygnal/templates/{sygnal.yaml.j2 => config.yaml.j2} (100%) diff --git a/docs/configuring-playbook-sygnal.md b/docs/configuring-playbook-sygnal.md index 8172a17cd..e295b9bab 100644 --- a/docs/configuring-playbook-sygnal.md +++ b/docs/configuring-playbook-sygnal.md @@ -46,7 +46,7 @@ aux_file_definitions: group: "{{ matrix_user_groupname }}" ``` -For a more complete example of available fields and values they can take, see `roles/custom/matrix-sygnal/templates/sygnal.yaml.j2` (or the [upstream `sygnal.yaml.sample` configuration file](https://github.com/matrix-org/sygnal/blob/master/sygnal.yaml.sample)). +For a more complete example of available fields and values they can take, see `roles/custom/matrix-sygnal/templates/config.yaml.j2` (or the [upstream `sygnal.yaml.sample` configuration file](https://github.com/matrix-org/sygnal/blob/master/sygnal.yaml.sample)). Configuring [GCM/FCM](https://firebase.google.com/docs/cloud-messaging/) is easier, as it only requires that you provide some config values. diff --git a/roles/custom/matrix-sygnal/defaults/main.yml b/roles/custom/matrix-sygnal/defaults/main.yml index 4dbd8e505..3f9bc77fc 100644 --- a/roles/custom/matrix-sygnal/defaults/main.yml +++ b/roles/custom/matrix-sygnal/defaults/main.yml @@ -103,7 +103,7 @@ matrix_sygnal_metrics_prometheus_enabled: false # # For a more advanced customization, you can extend the default (see `matrix_sygnal_configuration_extension_yaml`) # or completely replace this variable with your own template. -matrix_sygnal_configuration_yaml: "{{ lookup('template', 'templates/sygnal.yaml.j2') }}" +matrix_sygnal_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}" matrix_sygnal_configuration_extension_yaml: | # Your custom YAML configuration for Sygnal goes here. diff --git a/roles/custom/matrix-sygnal/templates/sygnal.yaml.j2 b/roles/custom/matrix-sygnal/templates/config.yaml.j2 similarity index 100% rename from roles/custom/matrix-sygnal/templates/sygnal.yaml.j2 rename to roles/custom/matrix-sygnal/templates/config.yaml.j2