mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 14:11:36 +01:00
add: base role journalctl cleanup job
This commit is contained in:
@@ -47,3 +47,10 @@
|
||||
path: /root/.ssh/authorized_keys
|
||||
line: "{{ item }}"
|
||||
loop: "{{ extra_root_keys }}"
|
||||
|
||||
- name: Add journalctl cleanup
|
||||
ansible.builtin.cron:
|
||||
name: "check dirs"
|
||||
minute: "0"
|
||||
hour: "0"
|
||||
job: "/usr/bin/journalctl --vacuum-size=3d"
|
||||
|
||||
Reference in New Issue
Block a user