# restart fail2ban service to apply changes
- name: Restart fail2ban
service:
name: "{{ fail2ban_daemon }}"
state: restarted