mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
16
roles/matrix_element/tasks/cleanup.yml
Normal file
16
roles/matrix_element/tasks/cleanup.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
- name: Remove temp files
|
||||
file: path={{ element_root_dir }}/tmp/{{ item }} state=absent
|
||||
loop:
|
||||
- element-v{{ element_version }}.tar.gz
|
||||
- element-v{{ element_version }}
|
||||
tags: matrix
|
||||
|
||||
- name: Remove old Riot install
|
||||
file: path={{ item }} state=absent
|
||||
loop:
|
||||
- /opt/matrix/riot
|
||||
- /etc/httpd/ansible_conf.d/10-riot_riot.conf
|
||||
notify: reload httpd
|
||||
tags: matrix
|
Reference in New Issue
Block a user