mirror of
https://github.com/roles-ansible/ansible_role_restic_archiver.git
synced 2024-08-16 10:09:49 +02:00
FIX: region
This commit is contained in:
parent
f500327f59
commit
8a0a4d91c4
1 changed files with 3 additions and 3 deletions
|
@ -4,9 +4,9 @@
|
||||||
environment:
|
environment:
|
||||||
RESTIC_REPOSITORY: '{{ item.value.location }}'
|
RESTIC_REPOSITORY: '{{ item.value.location }}'
|
||||||
RESTIC_PASSWORD: '{{ item.value.password }}'
|
RESTIC_PASSWORD: '{{ item.value.password }}'
|
||||||
AWS_ACCESS_KEY_ID: '{{ item.value.aws_access_key | default(omit) }}'
|
AWS_ACCESS_KEY_ID: '{{ item.value.aws_access_key | default("") }}'
|
||||||
AWS_SECRET_ACCESS_KEY: '{{ item.value.aws_secret_access_key | default(omit) }}'
|
AWS_SECRET_ACCESS_KEY: '{{ item.value.aws_secret_access_key | default("") }}'
|
||||||
AWS_DEFAULT_REGION: '{{ item.value.aws_default_region | default(omit) }}'
|
AWS_DEFAULT_REGION: '{{ item.value.aws_default_region | default("") }}'
|
||||||
no_log: true
|
no_log: true
|
||||||
register: restic_init
|
register: restic_init
|
||||||
changed_when: "'created restic repository' in restic_init.stdout"
|
changed_when: "'created restic repository' in restic_init.stdout"
|
||||||
|
|
Loading…
Reference in a new issue