mg
c2b3e44bb4
vars richtig einsortiert gitea version gitea wieder eingebaut Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#1 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
17 lines
339 B
YAML
17 lines
339 B
YAML
---
|
|
- name: "Restart gitea"
|
|
service:
|
|
name: gitea
|
|
state: restarted
|
|
when: ansible_service_mgr == "systemd"
|
|
|
|
- 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"
|