As /var/log is already compressed by ZFS, logrotate’s compression is going to burn CPU and disk I/O for (in most cases) very little gain. Also, if you are making snapshots of /var/log, logrotate’s compression will actually waste space, as the uncompressed data will live on in the snapshot. You can edit the files in /etc/logrotate.d by hand to comment out compress, or use this loop (copy-and-paste highly recommended):
# for file in /etc/logrotate.d/* ; do
if grep -Eq "(^|[^#y])compress" "$file" ; then
sed -i -r "s/(^|[^#y])(compress)/\1#\2/" "$file"
fi
done
should be easy enough to write a utility/maintenance script with ansible for handling this and enforcing it for new packages that get installed
From https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS
should be easy enough to write a utility/maintenance script with ansible for handling this and enforcing it for new packages that get installed