full path to logrotate for command

This commit is contained in:
otthorn 2021-01-23 14:37:18 +01:00
parent 0d9fd16030
commit 66c2ff6305

View file

@ -26,4 +26,4 @@ apt:
# Enforce new logrotate rules now
- name: Run logrotate now
command: logrotate -f /etc/logrotate.d/rsyslog
command: /usr/sbin/logrotate -f /etc/logrotate.d/rsyslog