mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-04-01 01:55:40 +02:00
Update docs/configuring-playbook-bot-mjolnir: adjust the section hierarchy
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
parent
8222c415ce
commit
96cb6bb264
@ -103,6 +103,18 @@ You must replace `ACCESS_TOKEN_FROM_STEP_2_GOES_HERE` with your own value.
|
|||||||
matrix_bot_mjolnir_access_token: "ACCESS_TOKEN_FROM_STEP_2_GOES_HERE"
|
matrix_bot_mjolnir_access_token: "ACCESS_TOKEN_FROM_STEP_2_GOES_HERE"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Adding Mjolnir synapse antispam module (optional)
|
||||||
|
|
||||||
|
To enable Mjolnir synapse antispam module, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file (adapt to your needs):
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
matrix_synapse_ext_spam_checker_mjolnir_antispam_enabled: true
|
||||||
|
matrix_synapse_ext_spam_checker_mjolnir_antispam_config_block_invites: true
|
||||||
|
matrix_synapse_ext_spam_checker_mjolnir_antispam_config_block_messages: false
|
||||||
|
matrix_synapse_ext_spam_checker_mjolnir_antispam_config_block_usernames: false
|
||||||
|
matrix_synapse_ext_spam_checker_mjolnir_antispam_config_ban_lists: []
|
||||||
|
```
|
||||||
|
|
||||||
### Extending the configuration
|
### Extending the configuration
|
||||||
|
|
||||||
You can configure additional options by adding the `matrix_bot_mjolnir_configuration_extension_yaml` variable to your `inventory/host_vars/matrix.example.com/vars.yml` file.
|
You can configure additional options by adding the `matrix_bot_mjolnir_configuration_extension_yaml` variable to your `inventory/host_vars/matrix.example.com/vars.yml` file.
|
||||||
@ -121,18 +133,6 @@ matrix_bot_mjolnir_configuration_extension_yaml: |
|
|||||||
recordIgnoredInvites: true
|
recordIgnoredInvites: true
|
||||||
```
|
```
|
||||||
|
|
||||||
## Adding Mjolnir synapse antispam module (optional)
|
|
||||||
|
|
||||||
Add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file (adapt to your needs):
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
matrix_synapse_ext_spam_checker_mjolnir_antispam_enabled: true
|
|
||||||
matrix_synapse_ext_spam_checker_mjolnir_antispam_config_block_invites: true
|
|
||||||
matrix_synapse_ext_spam_checker_mjolnir_antispam_config_block_messages: false
|
|
||||||
matrix_synapse_ext_spam_checker_mjolnir_antispam_config_block_usernames: false
|
|
||||||
matrix_synapse_ext_spam_checker_mjolnir_antispam_config_ban_lists: []
|
|
||||||
```
|
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:
|
After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user