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.
31 lines
764 B
31 lines
764 B
---
|
|
|
|
- name: Create directories
|
|
file: path={{ paperless_root_dir }}/{{ item.dir }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
|
|
loop:
|
|
- dir: /
|
|
owner: "{{ paperless_user }}"
|
|
mode: 700
|
|
- dir: /meta
|
|
mode: 700
|
|
- dir: /tmp
|
|
owner: "{{ paperless_user }}"
|
|
mode: 700
|
|
- dir: archives
|
|
mode: 700
|
|
- dir: backup
|
|
mode: 700
|
|
- dir: venv
|
|
- dir: app
|
|
- dir: data
|
|
owner: "{{ paperless_user }}"
|
|
mode: 700
|
|
- dir: media
|
|
owner: "{{ paperless_user }}"
|
|
- dir: static
|
|
- dir: consume
|
|
owner: "{{ paperless_user }}"
|
|
- dir: log
|
|
owner: "{{ paperless_user }}"
|
|
mode: 700
|
|
tags: ged
|
|
|