Cleanup logrotate configuration #41

Merged
jeltz merged 4 commits from logrotate into master 2021-03-30 07:51:57 +02:00
Showing only changes of commit 606df65535 - Show all commits

View file

@ -1,9 +1,7 @@
---
# Install the apt package
- name: Install logrotate
apt:
name:
- logrotate
name: logrotate
state: present
- name: Create rsyslog configuration directory
@ -27,8 +25,4 @@
name: logrotate.service
enabled: true
state: started
# Enforce new logrotate rules now
- name: Run logrotate now
command: /usr/sbin/logrotate -f /etc/logrotate.d/rsyslog
...