]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/debian/security/tasks/main.yml
Feat(debian/security): Configure `/etc/chkrootkit.conf`
[ansible.git] / playbooks / roles / debian / security / tasks / main.yml
index d4a08cdd7bcc639ea39e1d0886d0803e9f8528c4..c0b093f4f0b89ed4d53dd282dd9dc90c0de9818b 100644 (file)
@@ -1,8 +1,15 @@
-- name: Install chkrootkit and debsecan
+- name: Install chkrootkit
   become: true
   apt:
     cache_valid_time: 3600
     install_recommends: no
-    name: ['chkrootkit', 'debsecan']
+    name: ['chkrootkit']
     state: latest
     update_cache: yes
+
+- name: Configure chkrootkit
+  become: true
+  lineinfile:
+    path: /etc/chkrootkit.conf
+    search_string: 'RUN_DAILY="false"'
+    line: 'RUN_DAILY="true"'