summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/samhain.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/tasks/samhain.yml')
-rw-r--r--roles/common/tasks/samhain.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/roles/common/tasks/samhain.yml b/roles/common/tasks/samhain.yml
index 768ceb6..0d911a5 100644
--- a/roles/common/tasks/samhain.yml
+++ b/roles/common/tasks/samhain.yml
@@ -1,12 +1,14 @@
- name: Install samhain
- apt: pkg=samhain
+ apt: pkg={{ item }}
+ with_items:
+ - samhain
+ - auditd
# XXX: Doesn't work out of the box, see #660197.
- # If this is the first installation, you may want to start with a fresh database
- # sudo service samhain stop
- # sudo rm /var/state/samhain/samhain_file
- # sudo samhain -t init -p warn
- # sudo service samhain start
- # sudo samhain -t update -l none
+ # Every once in a while, or after a major upgrade, you may want to
+ # update Samhain's database (to avoid being flooded at the next
+ # reboot):
+ #
+ # sudo samhain -t update --foreground -m none
- name: Configure samhain
copy: src=etc/samhain/samhainrc