From 8a0a4d91c4105ce32c49f9a1cbb78c8d9053173f Mon Sep 17 00:00:00 2001 From: Matthias Leutenegger Date: Tue, 2 Jun 2020 19:45:52 +0200 Subject: [PATCH] FIX: region --- tasks/configure.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index 642f2de..6a82de7 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -4,9 +4,9 @@ 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) }}' - AWS_DEFAULT_REGION: '{{ item.value.aws_default_region | default(omit) }}' + AWS_ACCESS_KEY_ID: '{{ item.value.aws_access_key | default("") }}' + AWS_SECRET_ACCESS_KEY: '{{ item.value.aws_secret_access_key | default("") }}' + AWS_DEFAULT_REGION: '{{ item.value.aws_default_region | default("") }}' no_log: true register: restic_init changed_when: "'created restic repository' in restic_init.stdout"