ansible-role-gitea/tasks/start.yaml
Marius Alwan Meyer e4d723ed30
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s
verschiebe Gitea start und Erreichbarkeitscheck
2023-04-29 14:56:41 +00:00

13 lines
364 B
YAML

- name: Start Gitea
community.docker.docker_compose:
project_src: /opt/gitea
register: docker_compose
- 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: 30
delay: 2