Skip to content

Commit

Permalink
feat: add fail2ban integration
Browse files Browse the repository at this point in the history
Add fail2ban role to the common configuration playbook for improved server security.
Using the oefenweb.fail2ban role from Ansible Galaxy to handle brute force attack prevention.
  • Loading branch information
teleboas committed Nov 23, 2024
1 parent 86ccb6c commit 4d0bd12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.vagrant/
collections/
roles/willshersystems.sshd/
roles/oefenweb.fail2ban/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
4 changes: 2 additions & 2 deletions jobs/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
tags: base
- role: sshd
tags: ssh
- role: oefenweb.fail2ban
tags: fail2ban
# TODO
# - role: fail2ban
# tags: fail2ban
# - role: nullmailer
# tags: mail
# - role: munin-node
Expand Down
2 changes: 2 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ collections:
roles:
- src: willshersystems.sshd
version: v0.25.0
- src: oefenweb.fail2ban
version: v4.0.10

0 comments on commit 4d0bd12

Please sign in to comment.