prüfe, ob der Server wieder erreichbar ist
This commit is contained in:
parent
4de73e51df
commit
1c6050e553
@ -64,3 +64,10 @@
|
||||
restarted: true
|
||||
when: gitea_env.changed or gitea_container.changed
|
||||
|
||||
- name: Check if {{ gitea.hostname }}.{{ gitea.domain }} is available and returning status 200
|
||||
ansible.builtin.uri:
|
||||
url: "https://{{ gitea.hostname }}.{{ gitea.domain }}"
|
||||
register: _result
|
||||
until: _result.status == 200
|
||||
retries: 60
|
||||
delay: 10
|
||||
|
Loading…
Reference in New Issue
Block a user