X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Froles%2Flogcheck%2Ftasks%2Fmain.yaml;h=86534e9aacd7f9ab6858ea567320a1268f0cf5b4;hb=bd5d5e2716ac41fdc24f813d0c246bd214449baa;hp=83980f962ea2b55e4781e92a1a7234f6dae6c7c6;hpb=3c5ede3e8a061c1817c429a5332dcf7bc76ec415;p=ansible.git diff --git a/playbooks/roles/logcheck/tasks/main.yaml b/playbooks/roles/logcheck/tasks/main.yaml index 83980f9..86534e9 100644 --- a/playbooks/roles/logcheck/tasks/main.yaml +++ b/playbooks/roles/logcheck/tasks/main.yaml @@ -26,6 +26,13 @@ line: "INTRO=0" insertafter: "^#INTRO=1$" +- name: Configure logcheck - disable systemd journal + become: true + lineinfile: + path: /etc/logcheck/logcheck.logfiles.d/journal.logfiles + regexp: "^journal$" + line: "#journal" + - name: Configure logcheck - send email to root become: true lineinfile: