From: Oleg Broytman Date: Wed, 24 Jul 2019 15:48:00 +0000 (+0300) Subject: Feat(init-system2): Install and update `logcheck` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=dfcf522518a86a343c181203ac4fc7431352f7f4;p=ansible.git Feat(init-system2): Install and update `logcheck` --- 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: