ansible-logrotate icon indicating copy to clipboard operation
ansible-logrotate copied to clipboard

Needs become to run

Open asfaltboy opened this issue 5 years ago • 1 comments

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.

asfaltboy avatar Aug 12 '19 10:08 asfaltboy

:+1:

This currently fails with "Destination /etc/logrotate.d not writable" when using connecting via a user other than root.

nmalacarne avatar Jan 14 '20 18:01 nmalacarne