Enforce logrotate rules

This commit is contained in:
otthorn 2021-01-23 14:27:09 +01:00
parent ddd69e04c0
commit 05326c15d3
1 changed files with 4 additions and 0 deletions

View File

@ -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