|
|
|
@@ -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,13 +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/config.json.j2", name: "config.json"} |
|
|
|
- {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 |
|
|
|
|