2019-10-06 20:55:56 +00:00
|
|
|
---
|
|
|
|
# Server/Borgbackup: Install and Setup Borgbackup Backup Crobjob - Default Debian Version
|
|
|
|
# Variables (must be set!):
|
2019-11-12 20:06:04 +00:00
|
|
|
# - borgbackup_passhrase
|
|
|
|
# - borgbackup_repo
|
|
|
|
# - borgbackup_hostname
|
2019-10-06 20:55:56 +00:00
|
|
|
|
|
|
|
# For all other Debian versions, simply install borgbackup
|
|
|
|
|
|
|
|
- name: borgbackup - Install borgbackup
|
|
|
|
become: yes
|
|
|
|
apt:
|
|
|
|
name: borgbackup
|
2019-10-27 10:40:03 +00:00
|
|
|
state: present
|
2019-10-06 20:55:56 +00:00
|
|
|
when:
|
2019-11-12 20:06:04 +00:00
|
|
|
- borgbackup_passphrase is defined
|
|
|
|
- borgbackup_repo is defined
|
|
|
|
- borgbackup_hostname is defined
|
2019-10-06 20:55:56 +00:00
|
|
|
- ansible_distribution_release != 'stretch'
|