Przeglądaj źródła

Rename with addition "unshared"

pull/1894/head
Julian-Samuel Gebühr 3 lat temu
rodzic
commit
2e15bd85ea
3 zmienionych plików z 3 dodań i 3 usunięć
  1. +1
    -1
      roles/matrix-bot-maubot/defaults/main.yml
  2. +1
    -1
      roles/matrix-bot-maubot/tasks/validate_config.yml
  3. +1
    -1
      roles/matrix-bot-maubot/templates/config/config.yaml.j2

+ 1
- 1
roles/matrix-bot-maubot/defaults/main.yml Wyświetl plik

@@ -37,7 +37,7 @@ matrix_bot_maubot_database_uri: "{{
}}" }}"


matrix_bot_maubot_port: 29316 matrix_bot_maubot_port: 29316
matrix_bot_maubot_secret: 'generate'
matrix_bot_maubot_unshared_secret: 'generate'


# A list of extra arguments to pass to the container # A list of extra arguments to pass to the container
matrix_bot_maubot_container_extra_arguments: [] matrix_bot_maubot_container_extra_arguments: []


+ 1
- 1
roles/matrix-bot-maubot/tasks/validate_config.yml Wyświetl plik

@@ -6,5 +6,5 @@
You need to define a required configuration setting (`{{ item }}`). You need to define a required configuration setting (`{{ item }}`).
when: "vars[item] == ''" when: "vars[item] == ''"
with_items: with_items:
- matrix_bot_maubot_secret
- matrix_bot_maubot_unshared_secret
- matrix_bot_maubot_admins - matrix_bot_maubot_admins

+ 1
- 1
roles/matrix-bot-maubot/templates/config/config.yaml.j2 Wyświetl plik

@@ -48,7 +48,7 @@ server:
appservice_base_path: /_matrix/app/v1 appservice_base_path: /_matrix/app/v1
# The shared secret to sign API access tokens. # The shared secret to sign API access tokens.
# Set to "generate" to generate and save a new token at startup. # Set to "generate" to generate and save a new token at startup.
unshared_secret: {{ matrix_bot_maubot_secret|to_json }}
unshared_secret: {{ matrix_bot_maubot_unshared_secret|to_json }}


# Known homeservers. This is required for the `mbc auth` command and also allows # Known homeservers. This is required for the `mbc auth` command and also allows
# more convenient access from the management UI. This is not required to create # more convenient access from the management UI. This is not required to create


Ładowanie…
Anuluj
Zapisz