X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Froles%2Fdebian%2Fsecurity%2Ftasks%2Fmain.yaml;fp=playbooks%2Froles%2Fdebian%2Fsecurity%2Ftasks%2Fmain.yaml;h=c0b093f4f0b89ed4d53dd282dd9dc90c0de9818b;hb=3c5ede3e8a061c1817c429a5332dcf7bc76ec415;hp=0000000000000000000000000000000000000000;hpb=45ba3bdce32ecc6f9f0ac031ccb799ed3157d6f9;p=ansible.git diff --git a/playbooks/roles/debian/security/tasks/main.yaml b/playbooks/roles/debian/security/tasks/main.yaml new file mode 100644 index 0000000..c0b093f --- /dev/null +++ b/playbooks/roles/debian/security/tasks/main.yaml @@ -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"'