mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-04-08 13:05:48 +02:00
first part of config
This commit is contained in:
commit
8ee7c76f64
30 changed files with 729 additions and 0 deletions
14
roles/net-security/tasks/main.yml
Normal file
14
roles/net-security/tasks/main.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue