2021-01-24 08:41:11 +02:00
|
|
|
---
|
|
|
|
- name: Ensure Dendrite paths exist
|
2022-07-18 09:39:08 +02:00
|
|
|
ansible.builtin.file:
|
2021-01-24 08:41:11 +02:00
|
|
|
path: "{{ item.path }}"
|
|
|
|
state: directory
|
|
|
|
mode: 0750
|
|
|
|
owner: "{{ matrix_user_username }}"
|
|
|
|
group: "{{ matrix_user_groupname }}"
|
|
|
|
with_items:
|
2022-02-05 22:32:54 +02:00
|
|
|
- {path: "{{ matrix_dendrite_config_dir_path }}", when: true}
|
|
|
|
- {path: "{{ matrix_dendrite_ext_path }}", when: true}
|
2022-04-05 04:40:37 +02:00
|
|
|
- {path: "{{ matrix_dendrite_nats_storage_path }}", when: true}
|
2022-07-18 10:22:05 +02:00
|
|
|
when: "matrix_dendrite_enabled | bool and item.when"
|
2021-01-24 08:41:11 +02:00
|
|
|
|
2022-07-18 10:22:05 +02:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/dendrite/setup.yml"
|