[FIX] Starte Gitea, nachdem es für das Backup gestoppt wurde
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 36s
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 36s
This commit is contained in:
parent
b2424e95b4
commit
cdb0dab350
@ -74,12 +74,13 @@
|
|||||||
mode: "600"
|
mode: "600"
|
||||||
register: gitea_container
|
register: gitea_container
|
||||||
|
|
||||||
- name: Create / Recreate Gitea
|
- name: Start Gitea
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose:
|
||||||
project_src: /opt/gitea
|
project_src: /opt/gitea
|
||||||
state: present
|
register: docker_compose
|
||||||
restarted: true
|
|
||||||
when: gitea_env.changed or gitea_container.changed
|
- ansible.builtin.debug:
|
||||||
|
var: output
|
||||||
|
|
||||||
- name: Check if {{ gitea.hostname }}.{{ gitea.domain }} is available and returning status 200
|
- name: Check if {{ gitea.hostname }}.{{ gitea.domain }} is available and returning status 200
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
@ -108,6 +109,7 @@
|
|||||||
project_src: /opt/gitea
|
project_src: /opt/gitea
|
||||||
state: present
|
state: present
|
||||||
restarted: true
|
restarted: true
|
||||||
|
|
||||||
always:
|
always:
|
||||||
- name: Check if {{ gitea.hostname }}.{{ gitea.domain }} is available and returning status 200
|
- name: Check if {{ gitea.hostname }}.{{ gitea.domain }} is available and returning status 200
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
|
Loading…
Reference in New Issue
Block a user