From cae6f5e3b8fc61f546b66788a82aa1339e0303a1 Mon Sep 17 00:00:00 2001 From: camille Date: Fri, 3 Mar 2023 17:26:05 +0100 Subject: [PATCH] update duplicity.cnf template --- templates/duplicity.cnf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/duplicity.cnf.j2 b/templates/duplicity.cnf.j2 index d4fa9bc..f5a1f3d 100644 --- a/templates/duplicity.cnf.j2 +++ b/templates/duplicity.cnf.j2 @@ -1,3 +1,5 @@ +{% if duplicity_backend == s3 -%} export PASSPHRASE="{{ duplicity_s3_passphrase }}" export AWS_ACCESS_KEY_ID={{ duplicity_s3_access_key }} export AWS_SECRET_ACCESS_KEY={{ duplicity_s3_secret_key }} +{% endif %}