backup/templates/duplicity.cnf.j2

10 lines
392 B
Plaintext
Raw Permalink Normal View History

2023-03-07 11:08:57 +01:00
# Ansible generated
2023-06-27 16:14:55 +02:00
{% if 's3' in duplicity_backend -%}
2022-09-07 17:53:38 +02:00
export PASSPHRASE="{{ duplicity_s3_passphrase }}"
export AWS_ACCESS_KEY_ID={{ duplicity_s3_access_key }}
export AWS_SECRET_ACCESS_KEY={{ duplicity_s3_secret_key }}
2023-06-27 16:14:55 +02:00
{% elif 'azure' in duplicity_backend %}
2023-03-07 11:08:57 +01:00
export AZURE_ACCOUNT_NAME={{ duplicity_azure_account_name }}
export AZURE_ACCOUNT_KEY={{ duplicity_azure_account_key }}
2023-03-03 17:26:05 +01:00
{% endif %}