duplicity - fix wrong condition
This commit is contained in:
parent
32b029347c
commit
bf4c321f0c
@ -1,9 +1,9 @@
|
|||||||
# Ansible generated
|
# Ansible generated
|
||||||
{% if duplicity_backend == 's3' -%}
|
{% if 's3' in duplicity_backend -%}
|
||||||
export PASSPHRASE="{{ duplicity_s3_passphrase }}"
|
export PASSPHRASE="{{ duplicity_s3_passphrase }}"
|
||||||
export AWS_ACCESS_KEY_ID={{ duplicity_s3_access_key }}
|
export AWS_ACCESS_KEY_ID={{ duplicity_s3_access_key }}
|
||||||
export AWS_SECRET_ACCESS_KEY={{ duplicity_s3_secret_key }}
|
export AWS_SECRET_ACCESS_KEY={{ duplicity_s3_secret_key }}
|
||||||
{% elif duplicity_backend == 'azure' %}
|
{% elif 'azure' in duplicity_backend %}
|
||||||
export AZURE_ACCOUNT_NAME={{ duplicity_azure_account_name }}
|
export AZURE_ACCOUNT_NAME={{ duplicity_azure_account_name }}
|
||||||
export AZURE_ACCOUNT_KEY={{ duplicity_azure_account_key }}
|
export AZURE_ACCOUNT_KEY={{ duplicity_azure_account_key }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user