From: Oleg Broytman Date: Wed, 31 Jul 2019 16:48:10 +0000 (+0300) Subject: Feat(logcheck): Disable `INTRO` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b24e337da878cd16106e96175f8af1e0dce895cd;p=ansible.git Feat(logcheck): Disable `INTRO` --- 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: