mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-11-08 12:53:30 +01:00
bugfix: Need to wrap Azure SAS tokens in quotes
This commit is contained in:
parent
a1d287488f
commit
9cf2f6ad50
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