ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

commit ea53ac20a4c0f5e6d9df5142be57431364f96003
parent 9bf7be35d8f5dccd00f0405b89e4716c5aa48cfc
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Tue, 12 Oct 2021 22:37:51 +0300

element: Add option to toggle Lab settings

Diffstat:
ansible/roles/element/defaults/main.yml | 2+-
ansible/roles/element/templates/config.json | 7++++---
2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/ansible/roles/element/defaults/main.yml b/ansible/roles/element/defaults/main.yml @@ -22,4 +22,4 @@ element__brand: "Element" element__jitsi_url: "jitsi.modular.im" -element__enable_labs: true +element__enable_labs: "true" diff --git a/ansible/roles/element/templates/config.json b/ansible/roles/element/templates/config.json @@ -1,7 +1,7 @@ { "default_server_config": { "m.homeserver": { - "base_url": " {{ element__matrix_homeserver | d('https://matrix.org') }}", + "base_url": "{{ element__matrix_homeserver | d('https://matrix.org') }}", "server_name": "{{ element__matrix_server_name | d('matrix.org') }}" }, "m.identity_server": { @@ -24,7 +24,7 @@ ], "bug_report_endpoint_url": "https://riot.im/bugreports/submit", "defaultCountryCode": "GB", - "showLabsSettings": false, + "showLabsSettings": {{ element__enable_labs }}, "features": { "feature_pinning": "labs", "feature_custom_status": "labs", @@ -38,7 +38,8 @@ {% for server in element__server_room_directory|d([]) %} "{{ server }}", {% endfor %} - "matrix.org" + "matrix.org", + "libera.chat" ] }, "welcomeUserId": "@riot-bot:matrix.org",