From fd7ec9a3e75ee2df4bbac488969eb4ffb5195839 Mon Sep 17 00:00:00 2001 From: fencl Date: Sun, 5 Oct 2025 16:18:36 +0200 Subject: [PATCH] . --- nextcloud/update_collabora.yml | 3 ++- update_homarr.yml | 3 ++- update_uptime_kuma.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nextcloud/update_collabora.yml b/nextcloud/update_collabora.yml index 921ff3f..5fa9eac 100644 --- a/nextcloud/update_collabora.yml +++ b/nextcloud/update_collabora.yml @@ -16,6 +16,7 @@ # --- Debug mode (controlled via Semaphore variable) --- DEBUG: "{{ lookup('env', 'DEBUG') | default(0) | int }}" + RETRIES: "{{ lookup('env', 'RETRIES') | default(25) | int }}" # --- Collabora specifics --- collabora_debug_caps: true @@ -95,7 +96,7 @@ register: caps_controller delegate_to: localhost run_once: true - retries: 10 + retries: "{{ RETRIES }}" delay: 2 until: caps_controller.status == 200 failed_when: false diff --git a/update_homarr.yml b/update_homarr.yml index 187ef5c..da0f981 100644 --- a/update_homarr.yml +++ b/update_homarr.yml @@ -16,6 +16,7 @@ # --- Debug mode (controlled via Semaphore variable) --- DEBUG: "{{ lookup('env', 'DEBUG') | default(0) | int }}" + RETRIES: "{{ lookup('env', 'RETRIES') | default(25) | int }}" # Homarr specifics homarr_project: "homarr" @@ -32,7 +33,7 @@ homarr_container_name: "homarr" # Retry policy (same pattern as Kuma): 25x with 2s delay - homarr_retries: 25 + homarr_retries: "{{ RETRIES }}" homarr_delay: 2 # Docker command prefix (consistent behavior) diff --git a/update_uptime_kuma.yml b/update_uptime_kuma.yml index 58588a7..f02ebcd 100644 --- a/update_uptime_kuma.yml +++ b/update_uptime_kuma.yml @@ -16,6 +16,7 @@ # --- Debug mode (controlled via Semaphore variable) --- DEBUG: "{{ lookup('env', 'DEBUG') | default(0) | int }}" + RETRIES: "{{ lookup('env', 'RETRIES') | default(25) | int }}" # Uptime Kuma specifics kuma_project: "uptime-kuma" @@ -32,7 +33,7 @@ kuma_container_name: "uptime-kuma-dev" # Retry policy (to mirror Collabora play): 25x with 2s delay - kuma_retries: 25 + kuma_retries: "{{ RETRIES }}" kuma_delay: 2 # Docker command prefix (consistent behavior)