mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-11-16 06:57:28 +01:00
GMH 0.4.6 update
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
date -d '{{ item }}' +"%s"
|
||||
register: epoche_time
|
||||
|
||||
- name: Purge local media to specific date
|
||||
- name: Purge remote media to specific date
|
||||
shell: |
|
||||
curl -X POST --header "Authorization: Bearer {{ janitors_token.stdout[1:-1] }}" '{{ synapse_container_ip.stdout }}:8008/_synapse/admin/v1/purge_media_cache?before_ts={{ epoche_time.stdout }}'
|
||||
register: purge_command
|
||||
|
||||
Reference in New Issue
Block a user