diff --git a/tasks/main.yml b/tasks/main.yml index 22e664c..48ad52a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,6 +7,7 @@ if (cloudflare_r2_endpoint | urlsplit('path') | default('') | length > 1) else (backup_bucket_prefix ~ '-' ~ inventory_hostname) }} +- set_fact: restic_repository: "s3:{{ endpoint_without_bucket }}/{{ bucket_name }}" - name: create the /backup-dirs file # this also runs on main in case someone doesn't run the backup.yml