ansible-role-gitea/handlers/main.yml

18 lines
339 B
YAML
Raw Normal View History

---
2017-01-10 15:09:34 -06:00
- name: "Restart gitea"
service:
name: gitea
state: restarted
when: ansible_service_mgr == "systemd"
2017-01-10 15:09:34 -06:00
- name: "Reload systemd"
systemd:
daemon_reload: true
when: ansible_service_mgr == "systemd"
- name: "Restart fail2ban"
service:
name: fail2ban
state: restarted
when: ansible_service_mgr == "systemd"