migrate FluffyChat to SWS; add config mounting with correct server by default (#4922)

This commit is contained in:
Aine
2026-02-13 10:50:56 +00:00
committed by GitHub
parent 2d3d1f83d2
commit 3e73005eb3
7 changed files with 23 additions and 8 deletions

View File

@@ -12,7 +12,8 @@
owner: "{{ matrix_user_name }}"
group: "{{ matrix_group_name }}"
with_items:
- {path: "{{ matrix_client_fluffychat_data_path }}", when: true}
- {path: "{{ matrix_client_fluffychat_base_path }}", when: true}
- {path: "{{ matrix_client_fluffychat_config_path }}", when: true}
- {path: "{{ matrix_client_fluffychat_container_src_files_path }}", when: "{{ matrix_client_fluffychat_container_image_self_build }}"}
when: "item.when | bool"
@@ -52,12 +53,13 @@
- name: Ensure FluffyChat Web config files installed
ansible.builtin.template:
src: "{{ item.src }}"
dest: "{{ matrix_client_fluffychat_data_path }}/{{ item.name }}"
dest: "{{ item.dest }}"
mode: 0644
owner: "{{ matrix_user_name }}"
group: "{{ matrix_group_name }}"
with_items:
- {src: "{{ role_path }}/templates/labels.j2", name: "labels"}
- {src: "{{ role_path }}/templates/labels.j2", dest: "{{ matrix_client_fluffychat_base_path }}/labels"}
- {src: "{{ role_path }}/templates/config.json.j2", dest: "{{ matrix_client_fluffychat_config_path }}/config.json"}
when: "item.src is not none"
- name: Ensure FluffyChat Web container network is created