matrix-docker-ansible-deploy/roles/custom/matrix-dendrite/tasks/setup_dendrite.yml

16 lines
547 B
YAML
Raw Normal View History

---
- 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}
2022-04-05 02:40:37 +00:00
- {path: "{{ matrix_dendrite_nats_storage_path }}", when: true}
2022-07-18 08:22:05 +00:00
when: "matrix_dendrite_enabled | bool and item.when"
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/dendrite/setup.yml"