mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-09-07 22:54:07 +02:00
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
18 lines
720 B
YAML
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"]
|