From 74ed5066966bba08212f476fafb6d5be78385331 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Wed, 3 Jun 2026 22:30:50 +0200 Subject: [PATCH] Hotfix --- tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index e774c66..48773c1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -56,6 +56,11 @@ force: yes backup: yes +- debug: + msg: + - "endpoint={{ cloudflare_r2_endpoint }}" + - "path={{ cloudflare_r2_endpoint | urlsplit('path') }}" + - name: "Create a bucket for the backups" amazon.aws.s3_bucket: name: "{{ backup_bucket_prefix }}-{{ inventory_hostname }}" @@ -65,11 +70,6 @@ secret_key: "{{ cloudflare_r2_secret_key }}" when: (cloudflare_r2_endpoint | urlsplit('path') | default('')) | length > 0 -- debug: - msg: - - "endpoint={{ cloudflare_r2_endpoint }}" - - "path={{ cloudflare_r2_endpoint | urlsplit('path') }}" - - name: initiate restic repository command: "restic init --password-file=/backup-pwd" register: command_result