]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/debian/security/tasks/main.yaml
Feat: Rename `*.yml` to `*.yaml`
[ansible.git] / playbooks / roles / debian / security / tasks / main.yaml
diff --git a/playbooks/roles/debian/security/tasks/main.yaml b/playbooks/roles/debian/security/tasks/main.yaml
new file mode 100644 (file)
index 0000000..c0b093f
--- /dev/null
@@ -0,0 +1,15 @@
+- name: Install chkrootkit
+  become: true
+  apt:
+    cache_valid_time: 3600
+    install_recommends: no
+    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"'