From 145f424846c30b2c4768c6d24e2f8da4467f43be Mon Sep 17 00:00:00 2001 From: Matthias Leutenegger Date: Tue, 2 Jun 2020 13:56:37 +0200 Subject: [PATCH] Update configure.yml --- tasks/configure.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/configure.yml b/tasks/configure.yml index 1b67585..22dac5d 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -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"