]> git.phdru.name Git - ansible.git/commitdiff
Feat(init-system2): Install and update `logcheck`
authorOleg Broytman <phd@phdru.name>
Wed, 24 Jul 2019 15:48:00 +0000 (18:48 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 24 Jul 2019 15:48:00 +0000 (18:48 +0300)
playbooks/debian/init-system2.yml
playbooks/debian/roles/logcheck/tasks/main.yml

index 5eca46cb7094368699a7face2ef57217468b4024..1db16fdb7a30b2b58be993c020f7bbaa9e60034f 100644 (file)
@@ -5,3 +5,4 @@
     - remove-systemd
     - root
     - firewall
+    - logcheck
index 9b2218c09808c61c8ebcb6f817be72045bf5054c..ece8d49828437060bbf7ff5cfa01f6fd34cfff35 100644 (file)
@@ -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: