forked from evolix/ansible-roles
autosysadmin-agent: logs clearing is done weekly
This commit is contained in:
parent
b2e22413bc
commit
10b507adc4
|
@ -14,6 +14,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
* autosysadmin-agent: upstream release 24.02.3
|
* autosysadmin-agent: upstream release 24.02.3
|
||||||
|
* autosysadmin-agent: logs clearing is done weekly
|
||||||
* certbot: Renewal hook for NRPE
|
* certbot: Renewal hook for NRPE
|
||||||
* kvm-host: add minifirewall rules if DRBD interface is configured
|
* kvm-host: add minifirewall rules if DRBD interface is configured
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
*/5 * * * * root run-parts /usr/share/scripts/autosysadmin/auto
|
*/5 * * * * root run-parts /usr/share/scripts/autosysadmin/auto
|
||||||
|
|
||||||
# Clean run log files
|
# Clean run log files
|
||||||
@daily root {{ autosysadmin_agent_bin_dir | mandatory }}/delete_old_logs.sh {{ autosysadmin_agent_log_retention_days | default('365') }}
|
@weekly root {{ autosysadmin_agent_bin_dir | mandatory }}/delete_old_logs.sh {{ autosysadmin_agent_log_retention_days | default('365') }}
|
||||||
|
|
Loading…
Reference in a new issue