GMH 0.4.6 update

This commit is contained in:
Michael-GMH
2021-05-10 18:50:10 +08:00
parent 3dcc006932
commit 4e6f6e179b
10 changed files with 314 additions and 4 deletions

View File

@ -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