Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Fail2Ban
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
Fail2Ban
Commits
7db067be
Commit
7db067be
authored
7 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-inventories/arocom#1590 Update logrotate to keep logs for only 7 days for GDPR compliance
parent
f87525b4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
files/logrotate
+9
-11
9 additions, 11 deletions
files/logrotate
tasks/install.yml
+1
-1
1 addition, 1 deletion
tasks/install.yml
with
10 additions
and
12 deletions
files/logrotate
+
9
−
11
View file @
7db067be
/var/log/fail2ban.log {
weekly
rotate 4
compress
delaycompress
missingok
postrotate
fail2ban-client flushlogs 1>/dev/null
endscript
create 640 root adm
daily
rotate 7
compress
delaycompress
missingok
postrotate
fail2ban-client flushlogs 1>/dev/null
endscript
create 640 root adm
}
This diff is collapsed.
Click to expand it.
tasks/install.yml
+
1
−
1
View file @
7db067be
...
...
@@ -45,7 +45,7 @@
src
:
'
logrotate'
dest
:
'
/etc/logrotate.d/fail2ban'
mode
:
'
644'
tags
:
'
abcabcabc
'
tags
:
'
logrotate
'
-
name
:
"
Create
symbolic
links"
file
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment