evolinux-base: Disable logcheck monitoring of journald

This commit is contained in:
Brice Waegeneire 2023-08-23 15:05:10 +02:00
parent 5cc7c13104
commit 0e1fe0e81f
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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