mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-24 19:06:35 +01:00
Fix malformed config if no passphrase set (#148)
This commit is contained in:
parent
702299f861
commit
84b0030581
@ -66,8 +66,10 @@ location:
|
|||||||
# https://borgbackup.readthedocs.io/en/stable/usage/general.html#environment-variables for
|
# https://borgbackup.readthedocs.io/en/stable/usage/general.html#environment-variables for
|
||||||
# details.
|
# details.
|
||||||
storage:
|
storage:
|
||||||
|
{% if borg_encryption_passphrase %}
|
||||||
encryption_passphrase: {{ borg_encryption_passphrase }}
|
encryption_passphrase: {{ borg_encryption_passphrase }}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
# The standard output of this command is used to unlock the encryption key. Only
|
# The standard output of this command is used to unlock the encryption key. Only
|
||||||
# use on repositories that were initialized with passcommand/repokey encryption.
|
# use on repositories that were initialized with passcommand/repokey encryption.
|
||||||
# Note that if both encryption_passcommand and encryption_passphrase are set,
|
# Note that if both encryption_passcommand and encryption_passphrase are set,
|
||||||
|
Loading…
Reference in New Issue
Block a user