Logrotate #2
1 changed files with 4 additions and 0 deletions
|
@ -23,3 +23,7 @@ apt:
|
||||||
name: logrotate
|
name: logrotate
|
||||||
enabled: true
|
enabled: true
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
# Enforce new logrotate rules now
|
||||||
|
- name: Run logrotate now
|
||||||
|
command: logrotate -f /etc/logrotate.d/rsyslog
|
||||||
|
|
Loading…
Reference in a new issue