ansible-role-server/tasks/borgbackup-Debian.yml

18 lines
444 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: present
when:
- borgbackup_host is defined
- borgbackup_sub is defined
- ansible_distribution_release != 'stretch'