]> git.phdru.name Git - ansible.git/commitdiff
Feat(debian/security): Configure `/etc/chkrootkit.conf`
authorOleg Broytman <phd@phdru.name>
Sat, 9 Apr 2022 09:50:22 +0000 (12:50 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 9 Apr 2022 09:50:30 +0000 (12:50 +0300)
Enable daily run.

playbooks/roles/debian/security/tasks/main.yml

index f041d25b140c11edd1c9f615d09c943d701a9124..c0b093f4f0b89ed4d53dd282dd9dc90c0de9818b 100644 (file)
@@ -6,3 +6,10 @@
     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"'