Remove outdated guides and references related to Ansible best practices, Gitea repository configuration, journald management, and XXXigCC deployment. Introduce a new playbook for reinstalling Nezha Agent, ensuring proper parameter validation and service management. Update documentation to reflect the latest practices and remove deprecated content.

This commit is contained in:
2026-06-29 15:38:00 +08:00
parent 31da18eca6
commit 8f03780bfb
46 changed files with 183 additions and 2560 deletions
@@ -0,0 +1,17 @@
# systemd-journald 配置变量示例
# 使用方法: ansible-playbook journald_configure.yml -i inventory.ini -e @journald_configure_vars.yml
# 可选参数:journald 配置项(默认值如下)
journald_config:
# 限制日志最大使用空间(所有服务总和)
system_max_use: "500M"
# 单个日志文件最大大小
system_max_file_size: "100M"
# 保留日志的时间
max_retention_sec: "7day"
# 限制单个服务的日志速率(防止日志炸弹)
rate_limit_interval_sec: "30s"
rate_limit_burst: "10000"
# 可选参数:部署前是否备份原有 journald.conf(默认 true
backup_journald: true