Przeglądaj źródła

Merge pull request #4003 from luixxiul/fix

Update files for ma1sd
pull/4006/head
Slavi Pantaleev 1 rok temu
committed by GitHub
rodzic
commit
afc78c6ff7
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 12 dodań i 9 usunięć
  1. +11
    -8
      docs/configuring-playbook-ma1sd.md
  2. +1
    -1
      roles/custom/matrix-ma1sd/defaults/main.yml

+ 11
- 8
docs/configuring-playbook-ma1sd.md Wyświetl plik

@@ -47,15 +47,15 @@ To enable matrix.org forwarding, add the following configuration to your `vars.y
matrix_ma1sd_matrixorg_forwarding_enabled: true matrix_ma1sd_matrixorg_forwarding_enabled: true
``` ```


### Additional features
### Extending the configuration


What this playbook configures for your is some bare minimum Identity Server functionality, so that you won't need to rely on external 3rd party services.
There are some additional things you may wish to configure about the component.


A few variables can be toggled in this playbook to alter the ma1sd configuration that gets generated.
Take a look at:


Still, ma1sd can do much more. You can refer to the [ma1sd website](https://github.com/ma1uta/ma1sd) for more details and configuration options.
- `roles/custom/matrix-ma1sd/defaults/main.yml` for some variables that you can customize via your `vars.yml` file. You can override settings (even those that don't have dedicated playbook variables) using the `matrix_ma1sd_configuration_extension_yaml` variable


To use a more custom configuration, you can define a `matrix_ma1sd_configuration_extension_yaml` string variable and put your configuration in it. To learn more about how to do this, refer to the information about `matrix_ma1sd_configuration_extension_yaml` in the [default variables file](../roles/custom/matrix-ma1sd/defaults/main.yml) of the ma1sd component.
You can refer to the [ma1sd website](https://github.com/ma1uta/ma1sd) for more details and configuration options.


#### Customizing email templates #### Customizing email templates


@@ -150,10 +150,13 @@ The shortcut commands with the [`just` program](just.md) are also available: `ju


If email address validation emails sent by ma1sd are not reaching you, you should look into [Adjusting email-sending settings](configuring-playbook-email.md). If email address validation emails sent by ma1sd are not reaching you, you should look into [Adjusting email-sending settings](configuring-playbook-email.md).


If you'd like additional logging information, temporarily enable verbose logging for ma1sd.
As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-ma1sd`.


To enable it, add the following configuration to your `vars.yml` file:
### Increase logging verbosity

If you want to increase the verbosity, add the following configuration to your `vars.yml` file and re-run the playbook:


```yaml ```yaml
matrix_ma1sd_verbose_logging: true
# See: https://github.com/ma1uta/ma1sd/blob/master/docs/troubleshooting.md#increase-verbosity
matrix_ma1sd_verbose_logging: false
``` ```

+ 1
- 1
roles/custom/matrix-ma1sd/defaults/main.yml Wyświetl plik

@@ -189,7 +189,7 @@ matrix_ma1sd_self_check_validate_certificates: true


# Controls ma1sd logging verbosity for troubleshooting. # Controls ma1sd logging verbosity for troubleshooting.
# #
# According to: https://github.com/ma1uta/ma1sd/blob/master/docs/troubleshooting.md#increase-verbosity
# See: https://github.com/ma1uta/ma1sd/blob/master/docs/troubleshooting.md#increase-verbosity
matrix_ma1sd_verbose_logging: false matrix_ma1sd_verbose_logging: false


# Setting up support for API prefixes # Setting up support for API prefixes


Ładowanie…
Anuluj
Zapisz