ansible-debops-infrastructure

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

commit 17525beed33a6988dfa33660b0dcf17c84fd6d8d
parent cc064643e303b122e56076f22aa7826759a83384
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Wed, 21 Jul 2021 11:15:15 +0300

synapse: Enable cache expiry and prerelease debs

Diffstat:
ansible/roles/synapse/defaults/main.yml | 6+++++-
ansible/roles/synapse/templates/homeserver.yaml.j2 | 7+++++--
2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ansible/roles/synapse/defaults/main.yml b/ansible/roles/synapse/defaults/main.yml @@ -1,9 +1,11 @@ --- +synapse__repositories: 'main prerelease' + synapse__keyring__dependent_apt_keys: - id: AAF9AE843A7584B5A3E4CD2BCF45A512DE2DA058 url: 'https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg' - repo: 'deb https://packages.matrix.org/debian/ {{ ansible_distribution_release }} main' + repo: 'deb https://packages.matrix.org/debian/ {{ ansible_distribution_release }} {{ synapse__repositories }}' state: 'present' synapse__port: 8008 @@ -29,3 +31,5 @@ synapse__enable_3pid_lookup: 'false' synapse__enable_presence: 'false' synapse__enable_device_name_over_federation: 'false' + +synapse__caches_expiry_time: '60m' diff --git a/ansible/roles/synapse/templates/homeserver.yaml.j2 b/ansible/roles/synapse/templates/homeserver.yaml.j2 @@ -71,4 +71,7 @@ use_presence: {{ synapse__enable_presence }} allow_device_name_lookup_over_federation: {{ synapse__enable_device_name_over_federation }} -public_baseurl: "{{ synapse__public_base_url }}"- \ No newline at end of file +public_baseurl: "{{ synapse__public_base_url }}" + +caches: + expiry_time: "{{ synapse__caches_expiry_time }}"+ \ No newline at end of file