Merge experimental nach main #3

Merged
sporq merged 16 commits from experimental into main 2023-05-01 18:37:47 +02:00
2 changed files with 11 additions and 5 deletions
Showing only changes of commit 1025b8f076 - Show all commits

View File

@ -13,11 +13,17 @@
project_src: /opt/gitea
register: docker_compose
- name: Check Gitea HTTP Response
- name: Get Gitea HTTP Response
ansible.builtin.uri:
url: "https://{{ gitea.hostname }}.{{ gitea.domain }}"
register: _result
until: _result.status == 200
register: gitea_http_response
failed_when: 400 <= gitea_http_response.status < 500
- name: Wait until Gitea is up
ansible.builtin.uri:
url: "https://{{ gitea.hostname }}.{{ gitea.domain }}"
register: gitea_http_response
until: gitea_http_response.status == 200
retries: 30
delay: 2

View File

@ -72,7 +72,7 @@
mode: "600"
notify:
- Ensure Gitea is restarted
- Check Gitea HTTP Response
- Wait until Gitea is up
- name: Upload docker-compose.yaml
ansible.builtin.template:
@ -83,4 +83,4 @@
notify:
- Output Docker Compose State
- Ensure Gitea is restarted
- Check Gitea HTTP Response
- Wait until Gitea is up