Aine a2111dece7
add FluffyChat (#4068)
* add FluffyChat

* capitalization

* Update group_vars/matrix_servers

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

* fix link in readme

---------

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2025-02-17 11:15:15 +02:00

26 lines
879 B
YAML

---
- name: Check existence of matrix-client-fluffychat.service
ansible.builtin.stat:
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-client-fluffychat.service"
register: matrix_client_fluffychat_service_stat
- when: matrix_client_fluffychat_service_stat.stat.exists | bool
block:
- name: Ensure matrix-client-fluffychat is stopped
ansible.builtin.service:
name: matrix-client-fluffychat
state: stopped
enabled: false
daemon_reload: true
- name: Ensure matrix-client-fluffychat.service doesn't exist
ansible.builtin.file:
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-client-fluffychat.service"
state: absent
- name: Ensure FluffyChat Web path doesn't exist
ansible.builtin.file:
path: "{{ matrix_client_fluffychat_data_path }}"
state: absent