2019-03-16 06:51:32 -05:00
|
|
|
---
|
2017-01-10 15:09:34 -06:00
|
|
|
- name: "Restart gitea"
|
2019-03-16 06:51:32 -05:00
|
|
|
service:
|
|
|
|
name: gitea
|
|
|
|
state: restarted
|
|
|
|
when: ansible_service_mgr == "systemd"
|
2017-01-10 15:09:34 -06:00
|
|
|
|
|
|
|
- name: "Reload systemd"
|
2019-03-16 06:51:32 -05:00
|
|
|
systemd:
|
|
|
|
daemon_reload: true
|
|
|
|
when: ansible_service_mgr == "systemd"
|
2019-03-08 06:12:16 -06:00
|
|
|
|
|
|
|
- name: "Restart fail2ban"
|
|
|
|
service:
|
2019-03-16 06:51:32 -05:00
|
|
|
name: fail2ban
|
2019-03-08 06:12:16 -06:00
|
|
|
state: restarted
|
2019-03-16 06:51:32 -05:00
|
|
|
when: ansible_service_mgr == "systemd"
|