This commit is contained in:
phil 2023-05-08 15:29:47 +02:00
parent 7a742fd76a
commit 5f5fab84bb

View file

@ -5,11 +5,6 @@
register: ssh_key
- name: "Storagebox | Copy key to Hetzner"
ansible.builtin.command:
ansible.builtin.shell:
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: localhost