forked from udima-university/ansible-jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
purge.yaml
42 lines (40 loc) · 986 Bytes
/
purge.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
- name: purge jitsi
hosts: central
remote_user: root
become: yes
tasks:
- name: purge jitsi
shell: apt -y purge prosody jigasi jitsi-meet jitsi-meet-web-config jitsi-meet-prosody jitsi-meet-web jicofo jitsi-videobridge2 # noqa 301 303 305
- name: purge prosody /etc/prosody
file:
dest: /etc/prosody
state: absent
- name: purge prosody /var/lib/prosody
file:
dest: /var/lib/prosody
state: absent
- name: purge jitsi-meet /usr/share/jitsi-meet
file:
dest: /usr/share/jitsi-meet
state: absent
tags:
- jitsi
- name: purge videobridge
hosts: videobridges
remote_user: root
become: yes
tasks:
- name: purge jitsi
shell: apt -y purge jitsi-videobridge2 # noqa 301 303 305
tags:
- jitsi
- name: purge nginx
hosts: central
remote_user: root
become: yes
tasks:
- name: purge nginx
shell: apt -y purge nginx # noqa 301 303 305
tags:
- nginx