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.
28 lines
798 B
28 lines
798 B
---
|
|
- name: Create directories
|
|
file:
|
|
path: "{{ item.path }}"
|
|
state: directory
|
|
owner: "{{ item.owner | default(omit) }}"
|
|
group: "{{ item.group | default(omit) }}"
|
|
mode: "{{ item.mode | default(omit) }}"
|
|
loop:
|
|
- path: "{{ mayan_root_dir }}/meta"
|
|
mode: 700
|
|
- path: "{{ mayan_root_dir }}/tmp"
|
|
mode: 700
|
|
owner: "{{ mayan_user }}"
|
|
- path: "{{ mayan_root_dir }}/data/mayan_settings/"
|
|
mode: 700
|
|
owner: "{{ mayan_user }}"
|
|
- path: "{{ mayan_root_dir }}/archives"
|
|
mode: 700
|
|
- path: "{{ mayan_root_dir }}/backup"
|
|
mode: 700
|
|
- path: "{{ mayan_root_dir }}/config"
|
|
group: "{{ mayan_user }}"
|
|
mode: 750
|
|
- path: "{{ mayan_root_dir }}/fuse"
|
|
mode: 700
|
|
- path: "{{ mayan_root_dir }}/input"
|
|
tags: mayan
|
|
|