prüfe, ob der Server wieder erreichbar ist

This commit is contained in:
Marius Alwan Meyer 2023-04-27 21:03:35 +00:00
parent 4de73e51df
commit 1c6050e553

View File

@ -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