servers/roles/forgejo/handlers/main.yml
Timotej Lazar b3aff08ce3 forgejo: listen on unix socket
Instead of 0.0.0.0:3000. Skip installation page, and set config values
and create admin user manually.
2024-06-05 15:00:14 +02:00

23 lines
466 B
YAML

- name: reload nginx
service:
name: nginx
state: reloaded
when: '"handler" not in ansible_skip_tags'
- name: restart forgejo
service:
name: forgejo
state: restarted
notify: wait for forgejo
when: '"handler" not in ansible_skip_tags'
- name: restart forgejo-runner
service:
name: forgejo-runner
state: restarted
when: '"handler" not in ansible_skip_tags'
- name: wait for forgejo
wait_for:
path: /var/lib/forgejo/socket