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.
This commit is contained in:
13
templates/logrotate-pve.j2
Normal file
13
templates/logrotate-pve.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
/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
|
||||
}
|
||||
Reference in New Issue
Block a user