From d1410e38a1a42a28ac4ce3be280aa607d942e274 Mon Sep 17 00:00:00 2001 From: William Hirigoyen Date: Tue, 16 Apr 2024 10:25:13 +0200 Subject: [PATCH] evolinux-base/logcheck: fix conf patch, journal check was not disabled when asked --- CHANGELOG.md | 1 + evolinux-base/tasks/logs.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e53b4e80..5138471d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/evolinux-base/tasks/logs.yml b/evolinux-base/tasks/logs.yml index 46ada1d2..b8838c9e 100644 --- a/evolinux-base/tasks/logs.yml +++ b/evolinux-base/tasks/logs.yml @@ -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