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 - Debian Stretch Version
|
||||
# Variables (must be set!):
|
||||
# - borgbackup_host
|
||||
# - borgbackup_sub
|
||||
# - borgbackup_passphrase
|
||||
# - borgbackup_repo
|
||||
# - borgbackup_hostname
|
||||
|
||||
# For Debian Stretch, use a newer package version from backports
|
||||
|
||||
|
|
@ -30,6 +31,7 @@
|
|||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
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