evolinux-base: Disable logcheck monitoring of journald
This commit is contained in:
parent
5cc7c13104
commit
0e1fe0e81f
|
@ -174,6 +174,7 @@ evolinux_logs_default_dateext : True
|
|||
evolinux_logs_disable_logrotate_rsyslog: True
|
||||
evolinux_logs_rsyslog_conf: True
|
||||
evolinux_logrotate_dateformat: "-%Y%m%d%H"
|
||||
evolinux_logs_disable_logcheck_journald: True
|
||||
|
||||
# default www
|
||||
|
||||
|
|
|
@ -61,4 +61,12 @@
|
|||
insertafter: 'dateext'
|
||||
when: evolinux_logs_default_dateext | bool
|
||||
|
||||
# Logcheck
|
||||
- name: Disable logcheck monitoring of journald
|
||||
ansible.builtin.lineinfile:
|
||||
dest: /etc/logrotate.conf
|
||||
line: "#journal"
|
||||
regexp: "^journal"
|
||||
when: evolinux_logs_disable_logcheck_journald | bool
|
||||
|
||||
- ansible.builtin.meta: flush_handlers
|
||||
|
|
Loading…
Reference in a new issue