chore(restic): make vars mandatory for better error messages

This commit is contained in:
Lars Kaiser 2024-06-25 13:47:47 +02:00
parent a821a2f405
commit 5a011dff61
No known key found for this signature in database
GPG key ID: BB97304A16BC5DCF

View file

@ -28,8 +28,8 @@ restic_systemd_timer_description: >-
Run {{ restic_systemd_unit_name }}.service on schedule
restic_default_environment:
RESTIC_REPOSITORY: "{{ restic_repository }}"
RESTIC_PASSWORD: "{{ restic_password }}"
RESTIC_REPOSITORY: "{{ restic_repository | mandatory }}"
RESTIC_PASSWORD: "{{ restic_password | mandatory }}"
restic_environment: {}
restic_systemd_environment: >-2
{{ restic_default_environment | combine(restic_environment) }}