mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-15 20:53:12 +01:00
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
---
|
|
# Uninstall tasks for matrix-element-call
|
|
|
|
- name: Stop and remove matrix-element-call container
|
|
community.docker.docker_container:
|
|
name: "matrix-element-call"
|
|
state: absent
|
|
|
|
- name: Stop and remove jwt-service container
|
|
community.docker.docker_container:
|
|
name: "matrix-jwt-service"
|
|
state: absent
|
|
|
|
- name: Stop and remove livekit container
|
|
community.docker.docker_container:
|
|
name: "matrix-livekit"
|
|
state: absent
|
|
|
|
- name: Stop and remove redis container
|
|
community.docker.docker_container:
|
|
name: "matrix-redis"
|
|
state: absent
|
|
|
|
- name: Remove matrix-element-call systemd service
|
|
ansible.builtin.file:
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-element-call.service"
|
|
state: absent
|
|
|
|
- name: Remove jwt-service systemd service
|
|
ansible.builtin.file:
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-jwt-service.service"
|
|
state: absent
|
|
|
|
- name: Remove livekit systemd service
|
|
ansible.builtin.file:
|
|
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
|
|
|
|
- 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
|