ansible-logrotate
ansible-logrotate copied to clipboard
Needs become to run
Install logrotate task requires root. However, it is not given that the user we use to connect to the target machine will be root. Using become: true
on the task should solve this.
:+1:
This currently fails with "Destination /etc/logrotate.d not writable" when using connecting via a user other than root.