blob: 12c11529cfc996a684dfd39f41bac82c36e15016 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
- name: Less noisy journal
become: true
block:
- name: Edit journald.conf
community.general.ini_file:
dest: /etc/systemd/journald.conf
section: Journal
option: MaxLevelStore
value: warning
register: edited
- name: Restart systemd-journald
ansible.builtin.systemd_service:
daemon_reload: true
name: systemd-journald
state: restarted
when: edited.changed
|