Skip to content

Commit

Permalink
Log rotation for DDoS log files
Browse files Browse the repository at this point in the history
Refs #70
Refs #73
  • Loading branch information
bviktor committed Mar 7, 2023
1 parent 966d0cb commit ec49e35
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
- src: bviktor.firewalld
- src: bviktor.github_release
- src: bviktor.logrotate
- src: bviktor.selinux_cil
- src: bviktor.servicecheck
- src: bviktor.thirdparty
7 changes: 7 additions & 0 deletions roles/install/tasks/firewalld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@
- '20560/udp'
- '27015/udp'
- '8080/tcp'

- include_role:
name: bviktor.logrotate
vars:
name: kf2-ddos
pattern: /var/log/kf2-ddos.log
retention: 7

0 comments on commit ec49e35

Please sign in to comment.