2023-10-20 07:51:22 +00:00
|
|
|
# restart fail2ban service to apply changes
|
2023-10-26 12:16:21 +00:00
|
|
|
- name: restart fail2ban
|
2023-10-20 07:51:22 +00:00
|
|
|
service:
|
|
|
|
name: "{{ fail2ban_daemon }}"
|
2023-10-26 12:16:21 +00:00
|
|
|
state: restarted
|
|
|
|
# restart nftables service
|
|
|
|
- name: restart nftables
|
|
|
|
service:
|
|
|
|
name: "{{ nftables_daemon }}"
|
2023-10-20 07:51:22 +00:00
|
|
|
state: restarted
|