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

15 lines
240 B
YAML
Raw Normal View History

2021-12-11 16:28:17 +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