From 165b8f1a4ece30616a4d9212ac3a2433d645e5ce Mon Sep 17 00:00:00 2001 From: "martin.fencl" Date: Tue, 3 Feb 2026 18:41:51 +0100 Subject: [PATCH] . --- update_uptime_kuma.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/update_uptime_kuma.yml b/update_uptime_kuma.yml index 4db2a17..1c6aff1 100644 --- a/update_uptime_kuma.yml +++ b/update_uptime_kuma.yml @@ -1,7 +1,7 @@ # update_uptimekuma.yml - name: Update Uptime Kuma - hosts: pve2_vm + hosts: pve1_vm gather_facts: false vars: @@ -80,7 +80,12 @@ port: "{{ uptimekuma_port }}" timeout: 120 - - name: Check Uptime Kuma HTTP endpoint + - name: Check Uptime Kuma HTTP endpoint (retry until ready) ansible.builtin.uri: url: "http://127.0.0.1:{{ uptimekuma_port }}/" status_code: 200 + register: kuma_http + retries: 30 + delay: 3 + until: kuma_http.status == 200 + changed_when: false \ No newline at end of file