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