mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-12-12 04:40:19 +01:00
CHANGE: update all vars
This commit is contained in:
parent
60b29a64a7
commit
a563473b58
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ export RESTIC_PASSWORD='{{ restic_repos[item.repo].password | regex_replace('\''
|
|||
export AWS_ACCESS_KEY_ID={{ restic_repos[item.repo].aws_access_key }}
|
||||
{% endif %}
|
||||
{% if restic_repos[item.repo].aws_secret_access_key is defined %}
|
||||
export AWS_SECRET_ACCESS_KEY="{{ restic_repos[item.repo].aws_secret_access_key | regex_escape() }}"
|
||||
export AWS_SECRET_ACCESS_KEY="{{ restic_repos[item.repo].aws_secret_access_key | regex_replace('\'', '\'\\\'\'') }}"
|
||||
{% endif %}
|
||||
{% if restic_repos[item.repo].aws_default_region is defined %}
|
||||
export AWS_DEFAULT_REGION={{ restic_repos[item.repo].aws_default_region }}
|
||||
|
|
|
@ -10,7 +10,7 @@ BACKUP_NAME={{ item.name }}
|
|||
export AWS_ACCESS_KEY_ID={{ restic_repos[item.repo].aws_access_key }}
|
||||
{% endif %}
|
||||
{% if restic_repos[item.repo].aws_secret_access_key is defined %}
|
||||
export AWS_SECRET_ACCESS_KEY="{{ restic_repos[item.repo].aws_secret_access_key | regex_escape() }}"
|
||||
export AWS_SECRET_ACCESS_KEY="{{ restic_repos[item.repo].aws_secret_access_key | regex_replace('\'', '\'\\\'\'') }}"
|
||||
{% endif %}
|
||||
{% if restic_repos[item.repo].aws_default_region is defined %}
|
||||
export AWS_DEFAULT_REGION={{ restic_repos[item.repo].aws_default_region }}
|
||||
|
|
Loading…
Reference in a new issue