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