Просмотр исходного кода

Align D4A config with new schema

pull/4166/head
Catalan Lover 11 месяцев назад
Родитель
Сommit
41c8b4f365
3 измененных файлов: 3 добавлений и 7 удалений
  1. +1
    -6
      roles/custom/matrix-appservice-draupnir-for-all/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-appservice-draupnir-for-all/tasks/validate_config.yml
  3. +1
    -1
      roles/custom/matrix-appservice-draupnir-for-all/templates/production-appservice.yaml.j2

+ 1
- 6
roles/custom/matrix-appservice-draupnir-for-all/defaults/main.yml Просмотреть файл

@@ -52,12 +52,7 @@ matrix_appservice_draupnir_for_all_systemd_wanted_services_list: []
# Note: Draupnir is fairly verbose - expect a lot of messages from it.
# This room is diffrent for Appservice Mode compared to normal mode.
# In Appservice mode it provides functions like user management.
matrix_appservice_draupnir_for_all_master_control_room_alias: ""

# Placeholder Remenant of the fact that Cat belived Master Control Room to be separated from Access Control Policy List.
# The alias of the Policy list used to control who can provision a bot for them selfs.
# This should be a room alias - not a matrix.to URL.
# matrix_appservice_draupnir_for_all_management_policy_list_alias: ""
matrix_appservice_draupnir_for_all_config_adminRoom: "" # noqa var-naming

# Controls if the room state backing store is activated.
# Room state backing store makes restarts of the bot lightning fast as the bot does not suffer from amnesia.


+ 1
- 0
roles/custom/matrix-appservice-draupnir-for-all/tasks/validate_config.yml Просмотреть файл

@@ -23,3 +23,4 @@
with_items:
- {'old': 'matrix_appservice_draupnir_for_all_docker_image_name_prefix', 'new': 'matrix_appservice_draupnir_for_all_docker_image_registry_prefix'}
- {'old': 'matrix_appservice_draupnir_for_all_enable_room_state_backing_store', 'new': 'matrix_appservice_draupnir_for_all_config_roomStateBackingStore_enabled'}
- {'old': 'matrix_appservice_draupnir_for_all_master_control_room_alias', 'new': 'matrix_appservice_draupnir_for_all_config_adminRoom'}

+ 1
- 1
roles/custom/matrix-appservice-draupnir-for-all/templates/production-appservice.yaml.j2 Просмотреть файл

@@ -19,7 +19,7 @@ db:

# A room you have created that scopes who can access the appservice.
# See docs/access_control.md
adminRoom: "{{ matrix_appservice_draupnir_for_all_master_control_room_alias }}"
adminRoom: "{{ matrix_appservice_draupnir_for_all_config_adminRoom | to_json }}"

# This is a web api that the widget connects to in order to interact with the appservice.
webAPI:


Загрузка…
Отмена
Сохранить