Create borg repo directory on storagebox
This commit is contained in:
parent
9b5526b47e
commit
701b4f82f0
2 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,7 @@ borg_ssh_command: false
|
|||
borg_remote_path: false
|
||||
borg_remote_rate_limit: 0
|
||||
borg_repo_key: repokey-blake2
|
||||
borg_repo_path: borg-repository
|
||||
borg_retention_policy:
|
||||
keep_hourly: 3
|
||||
keep_daily: 7
|
||||
|
|
|
@ -8,3 +8,8 @@
|
|||
ansible.builtin.command:
|
||||
cmd: "echo {{ ssh_key.stdout_lines }} | ssh {{ hetzner_storagebox.user }}@{{ hetzner_storagebox.server }} -p {{ hetzner_storagebox.port }} install-ssh-key"
|
||||
delegate_to: localhost
|
||||
|
||||
- name: "Storagebox | Create backup directories"
|
||||
ansible.builtin.command:
|
||||
cmd: "ssh {{ hetzner_storagebox.user }}@{{ hetzner_storagebox.server}} -p {{ hetzner_storagebox.port }} mkdir -p {{ borg_repo_path }}"
|
||||
delegate_to: "{{ hetzner_storagebox_host }}"
|
||||
|
|
Loading…
Reference in a new issue