Files
ansible_role_proxmox_provision/templates/logrotate-pve.j2
Jose 8341d6e295
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 11s
Gitleaks Scan / gitleaks (push) Successful in 5s
Markdown Lint / markdown-lint (push) Failing after 4s
refactor ♻️: Refactor README and update role for Proxmox VE provisioning
This refactoring includes updating the README, changing the role name to focus on Proxmox VE, enhancing compatibility matrix, and refactoring default values for role variables. Handlers are updated to manage apt cache, restart pveproxy, and reload systemd. Role metadata is also updated for better Proxmox VE provisioning.
2026-02-07 08:29:45 +01:00

14 lines
315 B
Django/Jinja

/var/log/pve/*.log /var/log/pve/tasks/*.log {
daily
rotate {{ proxmox_logrotate_rotate }}
compress
missingok
notifempty
maxsize {{ proxmox_logrotate_maxsize }}
create 0640 root adm
sharedscripts
postrotate
systemctl reload rsyslog >/dev/null 2>&1 || true
endscript
}