mirror of
https://github.com/roles-ansible/ansible_role_restic.git
synced 2024-12-11 23:41:32 +01:00
Merge pull request #104 from usmanatron/bug/azure-sas
bugfix: Need to wrap Azure SAS tokens in quotes
This commit is contained in:
commit
f82099fb75
2 changed files with 2 additions and 2 deletions
|
@ -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 }}
|
export AZURE_ACCOUNT_KEY={{ restic_repos[item.repo].azure_account_key }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if restic_repos[item.repo].azure_account_sas is defined %}
|
{% 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 %}
|
{% endif %}
|
||||||
{% if restic_repos[item.repo].azure_endpoint_suffix is defined %}
|
{% if restic_repos[item.repo].azure_endpoint_suffix is defined %}
|
||||||
export AZURE_ENDPOINT_SUFFIX={{ restic_repos[item.repo].azure_endpoint_suffix }}
|
export AZURE_ENDPOINT_SUFFIX={{ restic_repos[item.repo].azure_endpoint_suffix }}
|
||||||
|
|
|
@ -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 }}
|
export AZURE_ACCOUNT_KEY={{ restic_repos[item.repo].azure_account_key }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if restic_repos[item.repo].azure_account_sas is defined %}
|
{% 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 %}
|
{% endif %}
|
||||||
{% if restic_repos[item.repo].azure_endpoint_suffix is defined %}
|
{% if restic_repos[item.repo].azure_endpoint_suffix is defined %}
|
||||||
export AZURE_ENDPOINT_SUFFIX={{ restic_repos[item.repo].azure_endpoint_suffix }}
|
export AZURE_ENDPOINT_SUFFIX={{ restic_repos[item.repo].azure_endpoint_suffix }}
|
||||||
|
|
Loading…
Reference in a new issue