From dfcf522518a86a343c181203ac4fc7431352f7f4 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 24 Jul 2019 18:48:00 +0300 Subject: [PATCH] Feat(init-system2): Install and update `logcheck` --- playbooks/debian/init-system2.yml | 1 + playbooks/debian/roles/logcheck/tasks/main.yml | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/playbooks/debian/init-system2.yml b/playbooks/debian/init-system2.yml index 5eca46c..1db16fd 100644 --- a/playbooks/debian/init-system2.yml +++ b/playbooks/debian/init-system2.yml @@ -5,3 +5,4 @@ - remove-systemd - root - firewall + - logcheck diff --git a/playbooks/debian/roles/logcheck/tasks/main.yml b/playbooks/debian/roles/logcheck/tasks/main.yml index 9b2218c..ece8d49 100644 --- a/playbooks/debian/roles/logcheck/tasks/main.yml +++ b/playbooks/debian/roles/logcheck/tasks/main.yml @@ -1,3 +1,14 @@ +- name: Install logcheck + become: true + apt: + autoclean: yes + autoremove: yes + install_recommends: no + name: logcheck + purge: yes + state: latest + update_cache: yes + - name: Update logcheck ignore patterns become: true copy: -- 2.39.5