use more variables instead of hard-coding (fixes #3)
This commit is contained in:
parent
d48064a7e3
commit
04686de59c
15 changed files with 101 additions and 70 deletions
|
|
@ -1,8 +1,9 @@
|
|||
---
|
||||
# Server/Borgbackup: Install and Setup Borgbackup Backup Crobjob - Default Debian Version
|
||||
# Variables (must be set!):
|
||||
# - borgbackup_host
|
||||
# - borgbackup_sub
|
||||
# - borgbackup_passhrase
|
||||
# - borgbackup_repo
|
||||
# - borgbackup_hostname
|
||||
|
||||
# For all other Debian versions, simply install borgbackup
|
||||
|
||||
|
|
@ -12,6 +13,7 @@
|
|||
name: borgbackup
|
||||
state: present
|
||||
when:
|
||||
- borgbackup_host is defined
|
||||
- borgbackup_sub is defined
|
||||
- borgbackup_passphrase is defined
|
||||
- borgbackup_repo is defined
|
||||
- borgbackup_hostname is defined
|
||||
- ansible_distribution_release != 'stretch'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue