Преглед изворни кода

Update docs/configuring-playbook-bridge-appservice-slack.md: add the common section "Extending the configuration"

Also: add an example for "+matrix_appservice_slack_configuration_extension_yaml"

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3995/head
Suguru Hirahara пре 1 година
родитељ
комит
ff7dbcee1b
No known key found for this signature in database GPG Key ID: E4F9743DAB4B7B75
1 измењених фајлова са 15 додато и 1 уклоњено
  1. +15
    -1
      docs/configuring-playbook-bridge-appservice-slack.md

+ 15
- 1
docs/configuring-playbook-bridge-appservice-slack.md Прегледај датотеку

@@ -61,7 +61,21 @@ matrix_appservice_slack_control_room_id: "Your Matrix admin room ID"
# matrix_appservice_slack_team_sync_enabled: true
```

Other configuration options are available via the `matrix_appservice_slack_configuration_extension_yaml` variable.
### Extending the configuration

There are some additional things you may wish to configure about the bridge.

Take a look at:

- `roles/custom/matrix-bridge-appservice-slack/defaults/main.yml` for some variables that you can customize via your `vars.yml` file
- `roles/custom/matrix-bridge-appservice-slack/templates/config.yaml.j2` for the bridge's default configuration. You can override settings (even those that don't have dedicated playbook variables) using the `matrix_appservice_slack_configuration_extension_yaml` variable

For example, to change the bot's username from `slackbot`, add the following configuration to your `vars.yml` file. Replace `examplebot` with your own.

```yaml
matrix_appservice_slack_configuration_extension_yaml: |
bot_username: "examplebot"
```

## Installing



Loading…
Откажи
Сачувај