evolinux-base/logcheck: fix conf patch, journal check was not disabled when asked

This commit is contained in:
William Hirigoyen 2024-04-16 10:25:13 +02:00
parent 7272106bce
commit d1410e38a1
2 changed files with 2 additions and 1 deletions

View file

@ -31,6 +31,7 @@ The **patch** part is incremented if multiple releases happen the same month
* nagios-nrpe: create /etc/bash_completion.d if missing
* packweb: fix old bug (2017!) .orig file created by module patch and taken in account by ProFTPd
* redis: replace inline argument with environment variable for the password
* evolinux-base/logcheck: fix conf patch, journal check was not disabled when asked
### Removed

View file

@ -66,7 +66,7 @@
# Logcheck
- name: Disable logcheck monitoring of journald
ansible.builtin.lineinfile:
dest: /etc/logrotate.conf
dest: /etc/logcheck/logcheck.logfiles.d/journal.logfiles
line: "#journal"
regexp: "^journal"
when: evolinux_logs_disable_logcheck_journald | bool