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

Update configure.yml

This commit is contained in:
Matthias Leutenegger 2020-06-02 13:56:37 +02:00 committed by GitHub
parent 506dbed1c0
commit 145f424846
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,8 @@
environment:
RESTIC_REPOSITORY: '{{ item.value.location }}'
RESTIC_PASSWORD: '{{ item.value.password }}'
AWS_ACCESS_KEY_ID: '{{ item.value.aws_access_key | default(omit) }}'
AWS_SECRET_ACCESS_KEY: '{{ item.value.aws_secret_access_key | default(omit) }}'
no_log: true
register: restic_init
changed_when: "'created restic repository' in restic_init.stdout"