ansible-debops-infrastructure

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

commit 72f20cff4b4c99d0b047edec741fad590826c82e
parent fe6011b8702da9041e16ae604b13c02a17378097
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Fri,  5 Aug 2022 00:14:34 +0300

productionmatrix: Remove unneeded cron job

Diffstat:
ansible/inventory/host_vars/productionmatrix/cron.yml | 6------
ansible/inventory/host_vars/productionmatrix/synapse.yml | 3++-
2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/ansible/inventory/host_vars/productionmatrix/cron.yml b/ansible/inventory/host_vars/productionmatrix/cron.yml @@ -1,12 +1,6 @@ --- cron__host_jobs: - "purge_old_media": - user: "root" - jobs: - - name: "Purge old Synapse media" - job: "curl --header 'Authorization: Bearer {{ synapse__admin_auth_token }}' -X POST {{ ansible_host }}:8008/_synapse/admin/v1/purge_media_cache?before_ts=`date --date='-1 days' +\\%s\\%3N`" - special_time: "daily" "cleanup_room_history": user: "root" jobs: diff --git a/ansible/inventory/host_vars/productionmatrix/synapse.yml b/ansible/inventory/host_vars/productionmatrix/synapse.yml @@ -15,4 +15,5 @@ synapse__admin_auth_token: '{{ lookup("password", secret + "/credentials/product synapse__public_base_url: 'https://matrix.erethon.com' -synapse__cache_factors: ['get_users_in_room: 4.0', '_get_joined_profile_from_event_id: 8.0'] +synapse__cache_factors: ['get_users_in_room: 4.0', + '_get_joined_profile_from_event_id: 8.0', 'getEvent: 3.0']