vn-ansible/roles/config-fail2ban/handlers/main.yaml

10 lines
252 B
YAML
Raw Normal View History

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