15 lines
341 B
YAML
15 lines
341 B
YAML
|
- hosts: all
|
||
|
become: true
|
||
|
tasks:
|
||
|
- name: Update journald conf
|
||
|
lineinfile:
|
||
|
regexp: "^.*SystemMaxUse.*$"
|
||
|
line: SystemMaxUse=500M
|
||
|
path: /etc/systemd/journald.conf
|
||
|
notify: restart journald
|
||
|
handlers:
|
||
|
- name: restart journald
|
||
|
service:
|
||
|
name: systemd-journald
|
||
|
state: restarted
|