aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/journald/tasks/main.yml
blob: 38113a53549c3c058ea50e36a38e2359e256a32b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- name: Edit journald.conf
  become: true
  community.general.ini_file:
    dest: /etc/systemd/journald.conf
    section: Journal
    option: MaxLevelStore
    value: '{{ journald_log_level }}'
    owner: root
    group: root
    mode: '644'
  notify: journald_restart

- name: Restart systemd-journald if necessary
  ansible.builtin.meta: flush_handlers