3
0
forked from jakub/ansible
This commit is contained in:
fencl
2025-10-05 16:18:36 +02:00
parent 40586253a5
commit fd7ec9a3e7
3 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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)