X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Froles%2Flogcheck%2Ftasks%2Fmain.yaml;h=86534e9aacd7f9ab6858ea567320a1268f0cf5b4;hb=e5060680149e22e6fe8fb92cdd4aa7397ba78334;hp=83980f962ea2b55e4781e92a1a7234f6dae6c7c6;hpb=65858ec90afa28444fe55d13f780a6bcb8684ea3;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: