/
/
/
Ansible role that provisions my storage server.
1# Restic Backup Server Environment Configuration
2# Generated by Ansible - DO NOT EDIT MANUALLY
3
4# User and Group Configuration
5PUID={{ storage_uid }}
6PGID={{ storage_gid }}
7TZ={{ storage_timezone }}
8
9# Restic Server Configuration
10RESTIC_PORT={{ restic_backup_port }}
11DATA_DIRECTORY={{ restic_backup_data_dir }}
12
13# Authentication Configuration
14{% if restic_backup_username is defined and restic_backup_username != "" %}
15OPTIONS=--htpasswd-file /data/.htpasswd --no-auth
16RESTIC_USERNAME={{ restic_backup_username }}
17{% endif %}
18
19# Security Settings
20DISABLE_AUTHENTICATION=false
21APPEND_ONLY=false
22PRIVATE_REPOS=true
23
24# Performance Settings
25RESTIC_MEM_LIMIT={{ default_memory_limit }}
26RESTIC_CPU_LIMIT={{ default_cpu_limit }}
27
28# Log Settings
29LOG_LEVEL=info
30
31# Backup Repository Settings
32BACKUP_DATA_DIR={{ restic_backup_data_dir }}
33CONFIG_DIR={{ restic_backup_config_dir }}