Copy over some initial stuff
This commit is contained in:
commit
18ae3aaf4e
11 changed files with 210 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