mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
8 lines
273 B
YAML
8 lines
273 B
YAML
- name: Restart fail2ban
|
|
systemd_service:
|
|
name: fail2ban
|
|
state: restarted
|
|
|
|
- name: Reload fail2ban jails # noqa no-changed-when
|
|
shell: type fail2ban-server > /dev/null && (fail2ban-client ping > /dev/null && fail2ban-client reload > /dev/null || true) || true
|