Kaynağa Gözat

Apply remaining suggestions from code review.

Co-authored-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
pull/3941/head
Catalan Lover 1 yıl önce
committed by Catalan Lover
ebeveyn
işleme
b5d73516ac
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 649BCCF930C07F70
2 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. +1
    -1
      docs/configuring-playbook-bot-draupnir.md
  2. +3
    -3
      roles/custom/matrix-bot-draupnir/templates/production.yaml.j2

+ 1
- 1
docs/configuring-playbook-bot-draupnir.md Dosyayı Görüntüle

@@ -153,7 +153,7 @@ The other method polls an Synapse Admin API endpoint, hence it is available only


You can configure additional options by adding the `matrix_bot_draupnir_configuration_extension_yaml` variable. You can configure additional options by adding the `matrix_bot_draupnir_configuration_extension_yaml` variable.


For example, to change Draupnir's `acceptInvitesFromSpace` option to `!example:example.org`, add the following configuration to your `vars.yml` file:
For example, to change Draupnir's `acceptInvitesFromSpace` option to `!qporfwt:example.com`, add the following configuration to your `vars.yml` file:


```yaml ```yaml
matrix_bot_draupnir_configuration_extension_yaml: | matrix_bot_draupnir_configuration_extension_yaml: |


+ 3
- 3
roles/custom/matrix-bot-draupnir/templates/production.yaml.j2 Dosyayı Görüntüle

@@ -1,4 +1,4 @@
# Endpoint URL that Draupnir uses to interact with the matrix homeserver (client-server API),
# Endpoint URL that Draupnir uses to interact with the Matrix homeserver (client-server API),
# set this to the pantalaimon URL if you're using that. # set this to the pantalaimon URL if you're using that.
homeserverUrl: {{ matrix_bot_draupnir_homeserver_url | to_json }} homeserverUrl: {{ matrix_bot_draupnir_homeserver_url | to_json }}


@@ -14,7 +14,7 @@ accessToken: {{ matrix_bot_draupnir_access_token | to_json }}
{% if matrix_bot_draupnir_pantalaimon_use %} {% if matrix_bot_draupnir_pantalaimon_use %}
# Options related to Pantalaimon (https://github.com/matrix-org/pantalaimon) # Options related to Pantalaimon (https://github.com/matrix-org/pantalaimon)
pantalaimon: pantalaimon:
# Whether or not Draupnir will use pantalaimon to access the matrix homeserver,
# Whether or not Draupnir will use Pantalaimon to access the Matrix homeserver,
# set to `true` if you're using pantalaimon. # set to `true` if you're using pantalaimon.
# #
# Be sure to point homeserverUrl to the pantalaimon instance. # Be sure to point homeserverUrl to the pantalaimon instance.
@@ -67,7 +67,7 @@ managementRoom: {{ matrix_bot_draupnir_management_room | to_json }}
# Deprecated and will be removed in a future version. # Deprecated and will be removed in a future version.
# Running with verboseLogging is unsupported. # Running with verboseLogging is unsupported.
# Whether Draupnir should log a lot more messages in the room, # Whether Draupnir should log a lot more messages in the room,
# mainly involves "all-OK" messages, and debugging messages for when draupnir checks bans in a room.
# mainly involves "all-OK" messages, and debugging messages for when Draupnir checks bans in a room.
verboseLogging: false verboseLogging: false


# The log level of terminal (or container) output, # The log level of terminal (or container) output,


Yükleniyor…
İptal
Kaydet