mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-10-08 15:34:58 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
28
roles/unmaintained/mayan_edms/tasks/directories.yml
Normal file
28
roles/unmaintained/mayan_edms/tasks/directories.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
- 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
|
Reference in New Issue
Block a user