20 lines
492 B
YAML
20 lines
492 B
YAML
|
---
|
||
|
# 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
|
||
|
state: latest
|
||
|
update_cache: yes
|
||
|
cache_valid_time: 3600
|
||
|
when:
|
||
|
- borgbackup_host is defined
|
||
|
- borgbackup_sub is defined
|
||
|
- ansible_distribution_release != 'stretch'
|