Initial infra setup: Terraform, Ansible, backup roles
This commit is contained in:
14
ansible/roles/backup/defaults/main.yml
Normal file
14
ansible/roles/backup/defaults/main.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
backup_bucket: "lunarfront-infra"
|
||||
backup_spaces_region: "nyc3"
|
||||
backup_schedule: "0 3 * * *" # 3am daily
|
||||
|
||||
backup_dirs:
|
||||
- src: /var/lib/gitea/data
|
||||
dest: backups/gitea
|
||||
- src: /var/lib/vaultwarden/data
|
||||
dest: backups/vaultwarden
|
||||
|
||||
# Set in vault
|
||||
spaces_access_key: ""
|
||||
spaces_secret_key: ""
|
||||
Reference in New Issue
Block a user