forked from jakub/ansible
.
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
# --- Debug mode (controlled via Semaphore variable) ---
|
# --- Debug mode (controlled via Semaphore variable) ---
|
||||||
DEBUG: "{{ lookup('env', 'DEBUG') | default(0) | int }}"
|
DEBUG: "{{ lookup('env', 'DEBUG') | default(0) | int }}"
|
||||||
|
RETRIES: "{{ lookup('env', 'RETRIES') | default(25) | int }}"
|
||||||
|
|
||||||
# --- Collabora specifics ---
|
# --- Collabora specifics ---
|
||||||
collabora_debug_caps: true
|
collabora_debug_caps: true
|
||||||
@@ -95,7 +96,7 @@
|
|||||||
register: caps_controller
|
register: caps_controller
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
run_once: true
|
run_once: true
|
||||||
retries: 10
|
retries: "{{ RETRIES }}"
|
||||||
delay: 2
|
delay: 2
|
||||||
until: caps_controller.status == 200
|
until: caps_controller.status == 200
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
# --- Debug mode (controlled via Semaphore variable) ---
|
# --- Debug mode (controlled via Semaphore variable) ---
|
||||||
DEBUG: "{{ lookup('env', 'DEBUG') | default(0) | int }}"
|
DEBUG: "{{ lookup('env', 'DEBUG') | default(0) | int }}"
|
||||||
|
RETRIES: "{{ lookup('env', 'RETRIES') | default(25) | int }}"
|
||||||
|
|
||||||
# Homarr specifics
|
# Homarr specifics
|
||||||
homarr_project: "homarr"
|
homarr_project: "homarr"
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
homarr_container_name: "homarr"
|
homarr_container_name: "homarr"
|
||||||
|
|
||||||
# Retry policy (same pattern as Kuma): 25x with 2s delay
|
# Retry policy (same pattern as Kuma): 25x with 2s delay
|
||||||
homarr_retries: 25
|
homarr_retries: "{{ RETRIES }}"
|
||||||
homarr_delay: 2
|
homarr_delay: 2
|
||||||
|
|
||||||
# Docker command prefix (consistent behavior)
|
# Docker command prefix (consistent behavior)
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
# --- Debug mode (controlled via Semaphore variable) ---
|
# --- Debug mode (controlled via Semaphore variable) ---
|
||||||
DEBUG: "{{ lookup('env', 'DEBUG') | default(0) | int }}"
|
DEBUG: "{{ lookup('env', 'DEBUG') | default(0) | int }}"
|
||||||
|
RETRIES: "{{ lookup('env', 'RETRIES') | default(25) | int }}"
|
||||||
|
|
||||||
# Uptime Kuma specifics
|
# Uptime Kuma specifics
|
||||||
kuma_project: "uptime-kuma"
|
kuma_project: "uptime-kuma"
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
kuma_container_name: "uptime-kuma-dev"
|
kuma_container_name: "uptime-kuma-dev"
|
||||||
|
|
||||||
# Retry policy (to mirror Collabora play): 25x with 2s delay
|
# Retry policy (to mirror Collabora play): 25x with 2s delay
|
||||||
kuma_retries: 25
|
kuma_retries: "{{ RETRIES }}"
|
||||||
kuma_delay: 2
|
kuma_delay: 2
|
||||||
|
|
||||||
# Docker command prefix (consistent behavior)
|
# Docker command prefix (consistent behavior)
|
||||||
|
|||||||
Reference in New Issue
Block a user