blob: 2d7ce154cd03b7c67ed6c683cd4871e56e729300 (
plain) (
tree)
|
|
- 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: notice
register: edited
- name: Restart systemd-journald
ansible.builtin.systemd_service:
daemon_reload: true
name: systemd-journald
state: restarted
when: edited.changed
|