1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00

bugfix: Need to wrap Azure SAS tokens in quotes

This commit is contained in:
Usman Iqbal 2023-09-04 19:10:38 +01:00
parent a1d287488f
commit 9cf2f6ad50
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ export AZURE_ACCOUNT_NAME={{ restic_repos[item.repo].azure_account_name }}
export AZURE_ACCOUNT_KEY={{ restic_repos[item.repo].azure_account_key }}
{% endif %}
{% if restic_repos[item.repo].azure_account_sas is defined %}
export AZURE_ACCOUNT_SAS={{ restic_repos[item.repo].azure_account_sas }}
export AZURE_ACCOUNT_SAS='{{ restic_repos[item.repo].azure_account_sas }}'
{% endif %}
{% if restic_repos[item.repo].azure_endpoint_suffix is defined %}
export AZURE_ENDPOINT_SUFFIX={{ restic_repos[item.repo].azure_endpoint_suffix }}

View file

@ -64,7 +64,7 @@ export AZURE_ACCOUNT_NAME={{ restic_repos[item.repo].azure_account_name }}
export AZURE_ACCOUNT_KEY={{ restic_repos[item.repo].azure_account_key }}
{% endif %}
{% if restic_repos[item.repo].azure_account_sas is defined %}
export AZURE_ACCOUNT_SAS={{ restic_repos[item.repo].azure_account_sas }}
export AZURE_ACCOUNT_SAS='{{ restic_repos[item.repo].azure_account_sas }}'
{% endif %}
{% if restic_repos[item.repo].azure_endpoint_suffix is defined %}
export AZURE_ENDPOINT_SUFFIX={{ restic_repos[item.repo].azure_endpoint_suffix }}