From: Oleg Broytman Date: Sat, 9 Apr 2022 09:50:22 +0000 (+0300) Subject: Feat(debian/security): Configure `/etc/chkrootkit.conf` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=213044385d6d11d7c10b94666e5b0b23d8755e93;p=ansible.git Feat(debian/security): Configure `/etc/chkrootkit.conf` Enable daily run. --- 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"'