Browse Source

host/gitea: add backup configuration

python3
Zolfa 5 years ago
parent
commit
2b068f1a95
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      host_projects.yaml

+ 16
- 0
host_projects.yaml View File

@ -16,6 +16,22 @@
- 'projects.{{ domain }}'
- role: 'gitea'
- role: 'monitoring-agent'
- role: 'borgrepo'
borgrepo_repos:
core:
folders:
gitea_conf:
path: '/etc/gitea'
gitea_repositories:
path: '/home/git/gitea-repositories'
gitea_data:
path: '/var/lib/gitea/data'
excludes:
- '/var/lib/gitea/data/tmp'
pgsql_dbs:
gitea_db:
dbname: 'gitea'
tags: borg
- hosts: 'monitoring_hosts'
roles:


Loading…
Cancel
Save