ansible-role-gitea/tasks/start.yaml
Marius Alwan Meyer 172ec168b2
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 13s
verschiebe Gitea start und Erreichbarkeitscheck
2023-04-29 14:51:39 +00:00

12 lines
407 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