blob: 8602829a397d78b4b2540a2577f6088917f0e43b (
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: '{{ journald_log_level }}'
register: edited
- name: Restart systemd-journald
ansible.builtin.systemd_service:
daemon_reload: true
name: systemd-journald
state: restarted
when: edited.changed
|