ansible-roles/fail2ban/handlers/main.yml

7 lines
105 B
YAML

---
- name: Restart fail2ban
service: name=fail2ban state=restarted enabled=yes
when: has_fail2ban