mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
16
roles/matrix_synapse/tasks/cleanup.yml
Normal file
16
roles/matrix_synapse/tasks/cleanup.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
- name: Remove unused and tmp files
|
||||
file: path={{ item }} state=absent
|
||||
loop:
|
||||
- "{{ synapse_root_dir }}/lib"
|
||||
- "{{ synapse_root_dir }}/lib64"
|
||||
- "{{ synapse_root_dir }}/include"
|
||||
- "{{ synapse_root_dir }}/bin"
|
||||
- "{{ synapse_root_dir }}/db_dumps"
|
||||
- "{{ synapse_root_dir }}/res/synapse_janitor.sql"
|
||||
- "{{ synapse_root_dir }}/venv/bin/synapse_janitor.sh"
|
||||
- /etc/cron.d/matrix_synapse
|
||||
- "{{ synapse_root_dir }}/archives/{{ synapse_current_version }}"
|
||||
tags: matrix
|
||||
|
Reference in New Issue
Block a user