Przeglądaj źródła

Align D4A config with new schema

pull/4166/head
Catalan Lover 11 miesięcy temu
rodzic
commit
41c8b4f365
3 zmienionych plików z 3 dodań i 7 usunięć
  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 Wyświetl plik

@@ -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. # Note: Draupnir is fairly verbose - expect a lot of messages from it.
# This room is diffrent for Appservice Mode compared to normal mode. # This room is diffrent for Appservice Mode compared to normal mode.
# In Appservice mode it provides functions like user management. # 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. # 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. # 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 Wyświetl plik

@@ -23,3 +23,4 @@
with_items: 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_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_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 Wyświetl plik

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


# A room you have created that scopes who can access the appservice. # A room you have created that scopes who can access the appservice.
# See docs/access_control.md # 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. # This is a web api that the widget connects to in order to interact with the appservice.
webAPI: webAPI:


Ładowanie…
Anuluj
Zapisz