You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
547 B
16 lines
547 B
---
|
|
- name: Ensure Dendrite paths exist
|
|
ansible.builtin.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"
|
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/dendrite/setup.yml"
|