ansible-logrotate-plusplus/defaults/main.yml
Serge van Ginderachter b0e5245e4e
Import github.com/arillso/ansible.logrotate
at version 1.5.2 (commit 038649f
2020-09-09 16:17:43 +02:00

50 lines
1.1 KiB
YAML

---
# List of global options. If this is empty the default options of the
# distribution are used.
logrotate_options: []
# Path to the include files
logrotate_include_dir: /etc/logrotate.d
# package name to install logrotate.
logrotate_package: logrotate
# Enable hourly rotation with cron.
logrotate_use_hourly_rotation: false
# logroate for wtmp
logrotate_wtmp:
logs:
- /var/log/wtmp
options:
- missingok
- monthly
- create 0664 root utmp
- rotate 1
# logroate for btmp
logrotate_btmp:
logs:
- /var/log/btmp
options:
- missingok
- monthly
- create 0660 root utmp
- rotate 1
# More log files can be added that will log rotate.
# An example of multiple log rotate applications with available settings:
# logrotate_applications:
# - name: name-your-log-rotate-application
# definitions:
# - logs:
# - /var/log/apt/term.log
# - /var/log/apt/history.log
# options:
# - rotate 12
# - monthly
# - missingok
# - notifempty
# - compress
logrotate_applications: []