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