Corrected the logrotate configuration to use the proper file path `/var/log/apt/privacy-*.log` instead of the incorrect `/var/log/apt/private-*.log`. This ensures the rotation settings apply to the intended log files.
This commit introduces the php-fpm user and group, assigning ownership of relevant log files to ensure proper permissions. Updates were also made to the logrotate configuration to include the `su` directive for php-fpm. These changes improve compatibility and address log management requirements.
This commit introduces log rotation for chill-related logs by adding a template file and the corresponding task in the playbook. It ensures proper log management by rotating logs daily, keeping a specified number of backups, and compressing old logs.