1
0
Fork 0

limit system journal size

This commit is contained in:
Massaki Archambault 2023-03-14 15:00:28 -04:00
parent 077338f5e0
commit f7d90473fa
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,4 @@
- name: Restart systemd-journald.service
service:
name: systemd-journald.service
state: restarted

View File

@ -7,6 +7,13 @@
- tmux
- gpg
- name: Set system journal limits
lineinfile:
path: /etc/systemd/journald.conf
line: SystemMaxUse=1G
regexp: '^#?SystemMaxUse='
notify: Restart systemd-journald.service
- name: Set default editor to vim
lineinfile:
path: /etc/environment