Update to 2021-12-01 19:13

This commit is contained in:
Daniel Berteaud
2021-12-01 19:13:34 +01:00
commit 4c4556c660
2153 changed files with 60999 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
---
- name: Create directory structure
file:
path: "{{ gitea_root_dir }}/{{ item.dir }}"
state: directory
owner: "{{ item.owner | default('gitea') }}"
group: "{{ item.group | default('gitea') }}"
mode: "{{ item.mode | default('750') }}"
loop:
- dir: /
owner: gitea
group: gitea
- dir: data
- dir: data/repositories
- dir: custom
- dir: public
- dir: etc
- dir: tmp
- dir: bin
- dir: meta
owner: root
group: root
mode: 700
- dir: backup
owner: root
group: root
mode: 700
tags: gitea