mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-07 23:11:37 +01:00
add: base role journalctl cleanup job
This commit is contained in:
@@ -47,3 +47,10 @@
|
|||||||
path: /root/.ssh/authorized_keys
|
path: /root/.ssh/authorized_keys
|
||||||
line: "{{ item }}"
|
line: "{{ item }}"
|
||||||
loop: "{{ extra_root_keys }}"
|
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