linderhof/roles/storage_box/defaults/main.yml

21 lines
756 B
YAML
Raw Permalink Normal View History

---
# Storage box name used to identify (or create) the box
restic_storagebox_name: "{{ server_name }}-backup"
# Set these only when creating a new storage box from scratch.
# Leave unset if the box already exists (identified by restic_storagebox_name above).
# restic_storagebox_type: bx11
# restic_storagebox_location: fsn1
# SSH port for Hetzner Storage Boxes
restic_ssh_port: 23
# Path where the private key is stored on the Ansible controller (per-stack)
restic_local_key_path: "{{ lookup('env', 'LINDERHOF_DIR') }}/restic_backup"
# Path on the target server where the private key will be deployed
restic_ssh_key: /root/.ssh/restic_backup
# Remote path on the storage box for this server's backups
restic_remote_path: "backups/{{ server_name }}"