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.
23 lines
452 B
23 lines
452 B
---
|
|
|
|
- name: Create needed directories
|
|
file:
|
|
state: directory
|
|
path: "{{ synapse_root_dir }}/{{ item.dir }}"
|
|
mode: "{{ item.mode | default(omit) }}"
|
|
group: "{{ synapse_user }}"
|
|
with_items:
|
|
- dir: meta
|
|
mode: 700
|
|
- dir: media_store
|
|
mode: 770
|
|
- dir: uploads
|
|
mode: 770
|
|
- dir: tmp
|
|
mode: 770
|
|
- dir: etc
|
|
mode: 750
|
|
- dir: res/templates
|
|
- dir: db_dumps
|
|
mode: 700
|
|
tags: matrix
|
|
|