52 lines
1.4 KiB
YAML
Raw Normal View History

---
2024-09-26 07:59:09 +10:00
# Uninstall tasks for matrix-element-call
2024-09-26 07:59:09 +10:00
- name: Stop and remove matrix-element-call container
community.docker.docker_container:
name: "matrix-element-call"
state: absent
2024-09-26 07:59:09 +10:00
- name: Stop and remove jwt-service container
community.docker.docker_container:
name: "matrix-jwt-service"
state: absent
2024-09-26 07:59:09 +10:00
- name: Stop and remove livekit container
community.docker.docker_container:
name: "matrix-livekit"
state: absent
2024-09-26 07:59:09 +10:00
- name: Stop and remove redis container
community.docker.docker_container:
name: "matrix-redis"
state: absent
2024-09-26 07:59:09 +10:00
- name: Remove matrix-element-call systemd service
ansible.builtin.file:
2024-09-26 07:59:09 +10:00
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-element-call.service"
state: absent
2024-09-26 07:59:09 +10:00
- name: Remove jwt-service systemd service
ansible.builtin.file:
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jwt-service.service"
state: absent
2024-09-26 07:59:09 +10:00
- name: Remove livekit systemd service
ansible.builtin.file:
2024-09-26 07:59:09 +10:00
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-livekit.service"
state: absent
- name: Remove redis systemd service
ansible.builtin.file:
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-redis.service"
state: absent
2024-09-26 07:59:09 +10:00
- name: Remove matrix-element-call configuration files
ansible.builtin.file:
path: "{{ matrix_element_call_base_path }}"
state: absent
- name: Reload systemd daemon
ansible.builtin.systemd:
daemon_reload: true