From dd6085c28219e6acca0c7ae1c6428b064c65e752 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 30 Oct 2013 21:09:53 +0100 Subject: Configure rkhunter. --- roles/common/tasks/rkhunter.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 roles/common/tasks/rkhunter.yml (limited to 'roles/common/tasks/rkhunter.yml') diff --git a/roles/common/tasks/rkhunter.yml b/roles/common/tasks/rkhunter.yml new file mode 100644 index 0000000..144430e --- /dev/null +++ b/roles/common/tasks/rkhunter.yml @@ -0,0 +1,22 @@ +- name: Install rkhunter + apt: pkg={{ item }} + with_items: + - rkhunter + - curl + - iproute + - lsof + - unhide + - unhide.rb + +- name: Configure rkhunter + copy: src=etc/{{ item }} + dest=/etc/{{ item }} + owner=root group=root + mode=0644 + with_items: + - rkhunter.conf + - default/rkhunter + notify: + # This might not always be necessary, but it's not like we would + # change the config every day... + - Update rkhunter's data file -- cgit v1.2.3