full path to logrotate for command
This commit is contained in:
parent
0d9fd16030
commit
66c2ff6305
1 changed files with 1 additions and 1 deletions
|
@ -26,4 +26,4 @@ apt:
|
||||||
|
|
||||||
# Enforce new logrotate rules now
|
# Enforce new logrotate rules now
|
||||||
- name: Run logrotate now
|
- name: Run logrotate now
|
||||||
command: logrotate -f /etc/logrotate.d/rsyslog
|
command: /usr/sbin/logrotate -f /etc/logrotate.d/rsyslog
|
||||||
|
|
Loading…
Reference in a new issue