2019-10-06 20:55:56 +00:00
|
|
|
---
|
|
|
|
# Server/Borgbackup: Install and Setup Borgbackup Backup Crobjob - Default Debian Version
|
|
|
|
# Variables (must be set!):
|
|
|
|
# - borgbackup_host
|
|
|
|
# - borgbackup_sub
|
|
|
|
|
|
|
|
# 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:
|
|
|
|
- borgbackup_host is defined
|
|
|
|
- borgbackup_sub is defined
|
|
|
|
- ansible_distribution_release != 'stretch'
|