Files
infrastructure/playbooks/hetzner_storagebox.yml
Christian HeuselandSven-Hendrik Haase b915d838a2 hetzner_storagebox: Migrate to the new storage box API
Since we have migrated our boxes away from the old storage box interface
into the cloud console the API for it has changed.

Link: https://docs.hetzner.cloud/reference/hetzner#storage-boxes
2025-11-17 19:30:10 +01:00

18 lines
720 B
YAML

- name: Setup Hetzner storagebox account
hosts: localhost
gather_facts: false
vars_files:
- ../misc/vaults/vault_hetzner_storagebox.yml
- ../misc/vaults/vault_hetzner_webservice.yml
- ../misc/vaults/vault_hetzner.yml
roles:
- role: hetzner_storagebox
backup_clients: "{{ groups['borg_clients'] }}"
backup_dir: backup
storagebox_id: "{{ hetzner_storagebox_id }}"
storagebox_hostname: "{{ hetzner_storagebox_username }}.your-storagebox.de"
storagebox_username: "{{ hetzner_storagebox_username }}"
storagebox_password: "{{ hetzner_storagebox_password }}"
storagebox_subaccounts_password: "{{ hetzner_storagebox_subaccounts_password }}"
tags: ["borg"]