homelab/roles/net-security/tasks/main.yml

15 lines
240 B
YAML
Raw Normal View History

2022-11-12 12:21:39 +01:00
- name: Install fail2ban.
apt:
name: fail2ban
state: present
# TODO add proper fail2ban config
- name: Ensure fail2ban is started & enabled.
service:
name: fail2ban
state: started
enabled: true
# TODO install UFW