diff --git a/README.md b/README.md index d359ab9..419ef23 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Ansible Role: BorgBackup Client -An Ansible Role that sets up BorgBackup on Debian/Ubuntu. +An Ansible Role that sets up automated remote backups on the target machine. Uses [BorgBackup](https://borgbackup.readthedocs.io/en/stable/) and [Borgmatic](https://github.com/witten/borgmatic). Currently supports Debian and Ubuntu. ## Role Variables diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index 2306f42..623c2bf 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -58,7 +58,7 @@ storage: # Command to use instead of just "ssh". This can be used to specify ssh options. # ssh_command: ssh -i ~/.ssh/id_ed25519 {% if borg_ssh_command %} - encryption_passcommand: {{ borg_ssh_command }} + ssh_command: {{ borg_ssh_command }} {% endif %} # Umask to be used for borg create. @@ -134,4 +134,3 @@ hooks: # List of one or more shell commands or scripts to execute in case an exception has occurred. on_error: - echo "`date` - Error while creating a backup." -