role-gitea/handlers/main.yml

11 lines
250 B
YAML
Raw Normal View History

2022-12-08 18:50:03 +00:00
---
2022-12-10 20:12:07 +00:00
- name: "Restart gitea"
ansible.builtin.service:
name: gitea
state: restarted
when: ansible_service_mgr == "systemd"
- name: "Reload systemd"
ansible.builtin.systemd:
daemon_reload: true
when: ansible_service_mgr == "systemd"