playbooks/roles/vhosts/common/defaults/main.yml

19 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

enable_set_timezone: true # 默认启用 Set timezone
enable_set_hostname: true # 默认启用 Set hostname
enable_install_packages: true # 默认不安装额外的软件包
enable_all_hosts_update: false # 默认不更新所有主机的条目
rsyslog_log_rotation: # 可选的日志管理配置
enable: true # 启用 rsyslog 日志管理
rotate_count: 4 # 默认保留的日志文件数量
rotate_frequency: weekly # 默认每周轮换, 可选daily, hourly
max_log_size: 100M # 默认日志文件最大大小
journald_log_rotation: # 启用 journald 日志管理
enable: true # 启用 journald 日志管理
max_log_size: 100M # 默认日志文件最大大小
max_files: 100 # 默认保留的最大日志文件数
max_file_sec: 1month # 默认日志文件保存的最大时长
system_max_use: 1G # 默认系统日志最大使用空间
runtime_max_use: 500M # 默认运行时日志最大使用空间