Skip to content
Snippets Groups Projects
Commit f87525b4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add logrotate and allow read access by group adm

parent 480bc76d
No related branches found
No related tags found
No related merge requests found
/var/log/fail2ban.log {
weekly
rotate 4
compress
delaycompress
missingok
postrotate
fail2ban-client flushlogs 1>/dev/null
endscript
create 640 root adm
}
......@@ -40,6 +40,13 @@
mode: '644'
remote_src: yes
- name: "Copy LogRotate Config"
copy:
src: 'logrotate'
dest: '/etc/logrotate.d/fail2ban'
mode: '644'
tags: 'abcabcabc'
- name: "Create symbolic links"
file:
src: '/usr/local/bin/{{ item }}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment