chore: improvements in .gitignore

This commit is contained in:
ITQ
2025-12-24 11:38:31 +03:00
parent 6e8380c148
commit af4f78663d
4 changed files with 67 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
---
- name: Create cron job to prune journald logs with configurable limits
ansible.builtin.cron:
name: "Prune systemd journal logs ({{ journal_retention_days }} days, {{ journal_max_disk_limit }} disk)"
minute: "0"
hour: "2"
job: "/usr/bin/journalctl --vacuum-time={{ journal_retention_days }}d --vacuum-size={{ journal_max_disk_limit }} > /dev/null 2>&1"
user: root
state: present