From b24e337da878cd16106e96175f8af1e0dce895cd Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 31 Jul 2019 19:48:10 +0300 Subject: [PATCH] Feat(logcheck): Disable `INTRO` --- playbooks/debian/roles/logcheck/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/debian/roles/logcheck/tasks/main.yml b/playbooks/debian/roles/logcheck/tasks/main.yml index ece8d49..e72afeb 100644 --- a/playbooks/debian/roles/logcheck/tasks/main.yml +++ b/playbooks/debian/roles/logcheck/tasks/main.yml @@ -9,6 +9,14 @@ state: latest update_cache: yes +- name: Configure logcheck + become: true + lineinfile: + path: /etc/logcheck/logcheck.conf + regexp: "^INTRO=0$" + line: "INTRO=0" + insertafter: "^#INTRO=1$" + - name: Update logcheck ignore patterns become: true copy: -- 2.39.5