forked from jakub/ansible
edit
This commit is contained in:
@@ -80,7 +80,12 @@
|
|||||||
port: "{{ homarr_port }}"
|
port: "{{ homarr_port }}"
|
||||||
timeout: 60
|
timeout: 60
|
||||||
|
|
||||||
- name: Check Homarr HTTP endpoint
|
- name: Check Homarr HTTP endpoint (retry until ready)
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "http://127.0.0.1:{{ homarr_port }}/"
|
url: "http://127.0.0.1:{{ homarr_port }}/"
|
||||||
status_code: 200
|
status_code: 200
|
||||||
|
register: homarr_http
|
||||||
|
retries: 30
|
||||||
|
delay: 3
|
||||||
|
until: homarr_http.status == 200
|
||||||
|
changed_when: false
|
||||||
|
|||||||
Reference in New Issue
Block a user