2024-06-04 18:02:28 +00:00
|
|
|
- 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:
|
2024-06-05 13:00:14 +00:00
|
|
|
path: /var/lib/forgejo/socket
|