| @@ -3175,7 +3175,7 @@ matrix_bot_draupnir_container_image_self_build: "{{ matrix_architecture not in [ | |||||
| matrix_bot_draupnir_container_network: "{{ matrix_addons_container_network }}" | matrix_bot_draupnir_container_network: "{{ matrix_addons_container_network }}" | ||||
| matrix_bot_draupnir_admin_api_enabled: "{{ matrix_bot_draupnir_room_hijack_enabled }}" | |||||
| matrix_bot_draupnir_admin_api_enabled: "{{ matrix_bot_draupnir_config_admin_enableMakeRoomAdminCommand }}" | |||||
| matrix_bot_draupnir_container_additional_networks_auto: |- | matrix_bot_draupnir_container_additional_networks_auto: |- | ||||
| {{ | {{ | ||||
| @@ -122,7 +122,7 @@ matrix_bot_draupnir_admin_api_enabled: false | |||||
| # Controls if the draupnir room hijack command is activated or not. This also automatically enables the internal admin API | # Controls if the draupnir room hijack command is activated or not. This also automatically enables the internal admin API | ||||
| # in the process of activation. | # in the process of activation. | ||||
| matrix_bot_draupnir_room_hijack_enabled: false | |||||
| matrix_bot_draupnir_config_admin_enableMakeRoomAdminCommand: false # 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. | ||||
| @@ -131,9 +131,6 @@ protectAllJoinedRooms: false | |||||
| # of the homeserver may be more impacted. | # of the homeserver may be more impacted. | ||||
| backgroundDelayMS: 500 | backgroundDelayMS: 500 | ||||
| # FIXME: This configuration option is currently broken in the playbook as admin APIs cannot | |||||
| # be accessed from containers. See https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3389 | |||||
| # and https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3308 | |||||
| # Server administration commands, these commands will only work if Draupnir is | # Server administration commands, these commands will only work if Draupnir is | ||||
| # a global server administrator, and the bot's server is a Synapse instance. | # a global server administrator, and the bot's server is a Synapse instance. | ||||
| admin: | admin: | ||||
| @@ -141,7 +138,7 @@ admin: | |||||
| # (with enough permissions) to "make" a user an admin. | # (with enough permissions) to "make" a user an admin. | ||||
| # | # | ||||
| # This only works if a local user with enough admin permissions is present in the room. | # This only works if a local user with enough admin permissions is present in the room. | ||||
| enableMakeRoomAdminCommand: {{ matrix_bot_draupnir_room_hijack_enabled | to_json }} | |||||
| enableMakeRoomAdminCommand: {{ matrix_bot_draupnir_config_enableMakeRoomAdminCommand | to_json }} | |||||
| # Misc options for command handling and commands | # Misc options for command handling and commands | ||||
| commands: | commands: | ||||