ansible-role-borgbackup/templates/ssh_config.j2

7 lines
221 B
Django/Jinja

{% if 'borgbase' in borg_providers %}
Host *.repo.borgbase.com
IdentityFile {{ borg_ssh_key_file_path }}
{% elif 'hetzner' in borg_providers %}
Host *.your-storagebox.de
IdentityFile /root/.ssh/borgbackup
{% endif %}