1
0
forked from finallycoffee/base

feat(restic): Use RESTIC_PASSWORD_FILE instead of RESTIC_PASSWORD

This commit is contained in:
2026-02-03 11:46:57 +01:00
parent 153df81836
commit cfc09bb48f
3 changed files with 31 additions and 1 deletions

View File

@@ -51,6 +51,11 @@ restic_user: root
restic_create_user: false
restic_start_job_on_unit_change: false
restic_base_path: /opt/restic
resitc_credentials_base_path: "/var/lib/restic/{{ restic_job_name }}/"
restic_password_file_path: "{{ resitc_credentials_base_path }}/restic-passwd"
restic_password_file_mode: 0600 #should not be less restrictive
restic_job_name: ~
restic_job_description: "Restic backup job for {{ restic_job_name }}"
restic_systemd_unit_naming_scheme: "restic.{{ restic_job_name }}"