limit system journal size
This commit is contained in:
parent
077338f5e0
commit
f7d90473fa
|
@ -0,0 +1,4 @@
|
|||
- name: Restart systemd-journald.service
|
||||
service:
|
||||
name: systemd-journald.service
|
||||
state: restarted
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue