Browse Source

Update Draupnir from 1.84.0 to 1.85.0 and update default configuration

pull/2880/head
Catalan Lover 2 years ago
parent
commit
7ee720f138
No known key found for this signature in database GPG Key ID: 649BCCF930C07F70
2 changed files with 19 additions and 3 deletions
  1. +11
    -1
      roles/custom/matrix-bot-draupnir/defaults/main.yml
  2. +8
    -2
      roles/custom/matrix-bot-draupnir/templates/production.yaml.j2

+ 11
- 1
roles/custom/matrix-bot-draupnir/defaults/main.yml View File

@@ -4,7 +4,7 @@

matrix_bot_draupnir_enabled: true

matrix_bot_draupnir_version: "v1.84.0"
matrix_bot_draupnir_version: "v1.85.0"

matrix_bot_draupnir_container_image_self_build: false
matrix_bot_draupnir_container_image_self_build_repo: "https://github.com/the-draupnir-project/Draupnir.git"
@@ -36,6 +36,16 @@ matrix_bot_draupnir_access_token: ""
# Note: draupnir is fairly verbose - expect a lot of messages from it.
matrix_bot_draupnir_management_room: ""

# Disable Server ACL is used if you want to not give the bot the right to apply Server ACLs in rooms without complaints from the bot.
# This setting is described the following way in the Configuration.
#
# Whether or not Draupnir should apply `m.room.server_acl` events.
# DO NOT change this to `true` unless you are very confident that you know what you are doing.
#
# Please follow the advice of upstream and only change this value if you know what your doing.
# Its Exposed here because its common enough to be valid to expose.
matrix_bot_draupnir_disable_server_acl: "false"

# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#


+ 8
- 2
roles/custom/matrix-bot-draupnir/templates/production.yaml.j2 View File

@@ -51,9 +51,11 @@ recordIgnoredInvites: false
# (see verboseLogging to adjust this a bit.)
managementRoom: "{{ matrix_bot_draupnir_management_room }}"

# Deprecated and will be removed in a future version.
# Running with verboseLogging is unsupported.
# 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.
verboseLogging: false
# mainly involves "all-OK" messages, and debugging messages for when draupnir checks bans in a room.
#verboseLogging: false

# The log level of terminal (or container) output,
# can be one of DEBUG, INFO, WARN and ERROR, in increasing order of importance and severity.
@@ -73,6 +75,10 @@ verifyPermissionsOnStartup: true
# turn on to trial some untrusted configuration or lists.
noop: false

# Whether or not Draupnir should apply `m.room.server_acl` events.
# DO NOT change this to `true` unless you are very confident that you know what you are doing.
disableServerACL: "{{ matrix_bot_draupnir_disable_server_acl }}"

# Whether Draupnir should check member lists quicker (by using a different endpoint),
# keep in mind that enabling this will miss invited (but not joined) users.
#


Loading…
Cancel
Save