]> git.phdru.name Git - ansible.git/commitdiff
Feat(logcheck): Disable systemd journal
authorOleg Broytman <phd@phdru.name>
Sat, 4 Nov 2023 14:43:18 +0000 (17:43 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 4 Nov 2023 14:43:18 +0000 (17:43 +0300)
playbooks/roles/logcheck/tasks/main.yaml

index 83980f962ea2b55e4781e92a1a7234f6dae6c7c6..86534e9aacd7f9ab6858ea567320a1268f0cf5b4 100644 (file)
     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: