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
852 B
28 lines
852 B
4 years ago
|
---
|
||
|
|
||
|
- name: Create directories
|
||
|
file: path={{ item.dir }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
|
||
|
loop:
|
||
|
- dir: "{{ papermerge_root_dir }}"
|
||
4 years ago
|
owner: "{{ papermerge_user }}"
|
||
4 years ago
|
group: nginx
|
||
|
mode: 750
|
||
|
- dir: "{{ papermerge_root_dir }}/app"
|
||
|
owner: "{{ papermerge_user }}"
|
||
|
group: nginx
|
||
|
mode: 750
|
||
|
- dir: "{{ papermerge_root_dir }}/data"
|
||
|
owner: "{{ papermerge_user }}"
|
||
|
mode: 700
|
||
|
- dir: "{{ papermerge_root_dir }}/input"
|
||
4 years ago
|
owner: "{{ papermerge_user }}"
|
||
|
mode: 700
|
||
4 years ago
|
- dir: "{{ papermerge_root_dir }}/tmp"
|
||
|
owner: "{{ papermerge_user }}"
|
||
|
mode: 700
|
||
|
- dir: "{{ papermerge_root_dir }}/meta"
|
||
|
mode: 700
|
||
|
- dir: "{{ papermerge_root_dir }}/archives"
|
||
|
mode: 700
|
||
|
tags: ged
|