From 213044385d6d11d7c10b94666e5b0b23d8755e93 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 9 Apr 2022 12:50:22 +0300 Subject: [PATCH] Feat(debian/security): Configure `/etc/chkrootkit.conf` Enable daily run. --- playbooks/roles/debian/security/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playbooks/roles/debian/security/tasks/main.yml b/playbooks/roles/debian/security/tasks/main.yml index f041d25..c0b093f 100644 --- a/playbooks/roles/debian/security/tasks/main.yml +++ b/playbooks/roles/debian/security/tasks/main.yml @@ -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"' -- 2.39.5