From 203c3ca3d0b3d053827e6ced01cdde85eb0871c5 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 9 Jun 2018 00:31:38 +0200 Subject: Skip samhain installation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's become too verbose (too many false-positive)… --- roles/common/tasks/main.yml | 2 -- roles/common/tasks/samhain.yml | 26 -------------------------- 2 files changed, 28 deletions(-) delete mode 100644 roles/common/tasks/samhain.yml (limited to 'roles/common/tasks') diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index b3ed8a0..c978e91 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -16,8 +16,6 @@ - import_tasks: stunnel.yml tags: stunnel when: "'webmail' in group_names and 'LDAP-provider' not in group_names" -- import_tasks: samhain.yml - tags: samhain - import_tasks: auditd.yml tags: auditd - import_tasks: rkhunter.yml diff --git a/roles/common/tasks/samhain.yml b/roles/common/tasks/samhain.yml deleted file mode 100644 index dd5c09b..0000000 --- a/roles/common/tasks/samhain.yml +++ /dev/null @@ -1,26 +0,0 @@ -- name: Install samhain - apt: pkg=samhain - # XXX: Doesn't work out of the box, see #660197. - # Every once in a while, or after a major upgrade, you may want to - # update Samhain's database: - # - # sudo samhain -t update --foreground -l none - # - # To update the database interactively, without sending mails: - # - # sudo samhain -t update --interactive -l none -m none - -- name: Configure samhain - copy: src=etc/samhain/samhainrc - dest=/etc/samhain/samhainrc - owner=root group=root - mode=0644 - notify: - - Reload samhain - -- name: Start samhain - # This task is inconditional because samhain is reloaded not - # restarted. - service: name=samhain state=started - -- meta: flush_handlers -- cgit v1.2.3