mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 09:30:39 +00:00
16 lines
513 B
YAML
16 lines
513 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}
|
|
- {path: "{{ matrix_dendrite_nats_storage_path }}", when: true}
|
|
when: "matrix_dendrite_enabled|bool and item.when"
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/dendrite/setup.yml"
|