ansible-roles/bind/templates/logrotate_bind.j2
Jérémy Lecour 8cbe837147
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
bind: refactor role
* queries log can be enabled or disabled
* split tasks
* check if AppArmor is present
* don't install Munin plugin whose data file is not present
* remove example ACL in authoritative configuration
2023-02-21 19:01:01 +01:00

15 lines
266 B
Django/Jinja

{% if bind_chroot_set | bool %}
{{ bind_chroot_path }}{{ bind_log_file }} {
{% else %}
{{ bind_log_file }} {
{% endif %}
weekly
missingok
rotate 52
create 640 bind bind
sharedscripts
postrotate
rndc reload > /dev/null
endscript
}