summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/rkhunter.yml
blob: 1338f1cd281b139aed39776075786e56fcb3c16d (plain)
1
2
3
4
5
6
7
8
- name: Installation du HIDS rkhunter
  yum: name=rkhunter state=present
  notify: initialize rkhunter

- name: Activation de tests rkhunter
  lineinfile: dest=/etc/rkhunter.conf state=present backrefs=yes
              regexp="^DISABLE_TESTS=suspscan hidden_ports deleted_files packet_cap_apps apps"
              line="DISABLE_TESTS=suspscan deleted_files"