mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-07 16:12:43 +00:00
9f6e8f5eaf
All the `matrix_s3_*` stuff happens in the `matrix-synapse` role. If we are to have such S3 support for Dendrite, we should probably extract it out of the `matrix-synapse` role (into a `matrix-s3` role or `matrix-goofys`, etc.) and wire `matrix-dendrite` accordingly. This may or may not be done in the future though. For now, I'm cleaning things up in the `matrix-dendrite` role.
15 lines
449 B
YAML
15 lines
449 B
YAML
---
|
|
- name: Ensure Dendrite paths exist
|
|
file:
|
|
path: "{{ item.path }}"
|
|
state: directory
|
|
mode: 0750
|
|
owner: "{{ matrix_user_username }}"
|
|
group: "{{ matrix_user_groupname }}"
|
|
with_items:
|
|
- { path: "{{ matrix_dendrite_config_dir_path }}", when: true }
|
|
- { path: "{{ matrix_dendrite_ext_path }}", when: true }
|
|
when: "matrix_dendrite_enabled|bool and item.when"
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/dendrite/setup.yml"
|