forked from jakub/ansible
.
This commit is contained in:
@@ -104,8 +104,13 @@
|
||||
port: "{{ immich_port }}"
|
||||
timeout: 120
|
||||
|
||||
- name: Check Immich API ping
|
||||
- name: Check Immich API ping (retry until ready)
|
||||
ansible.builtin.uri:
|
||||
url: "http://127.0.0.1:{{ immich_port }}/api/server/ping"
|
||||
status_code: 200
|
||||
return_content: true
|
||||
register: immich_ping
|
||||
retries: 40
|
||||
delay: 3
|
||||
until: immich_ping.status == 200 and ('pong' in (immich_ping.content | default('')))
|
||||
changed_when: false
|
||||
Reference in New Issue
Block a user