diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-03-13 16:43:50 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:51:43 +0200 |
commit | d72d516f2647a3e03b5e11d891c6ec4e9ddcf9cf (patch) | |
tree | 3d8e0f75a74d710aa1f0d84ce27daea302acb6e1 /roles/common/tasks/rkhunter.yml | |
parent | 984708466b7c368e98a8b51c00acff5e6b870bd2 (diff) |
Make use of Ansible 1.5 new features.
Most notably pipelining=True and sysctl_set=yes.
Diffstat (limited to 'roles/common/tasks/rkhunter.yml')
-rw-r--r-- | roles/common/tasks/rkhunter.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/common/tasks/rkhunter.yml b/roles/common/tasks/rkhunter.yml index f6a4d71..78eec90 100644 --- a/roles/common/tasks/rkhunter.yml +++ b/roles/common/tasks/rkhunter.yml @@ -1,24 +1,26 @@ - name: Install rkhunter apt: pkg={{ item }} with_items: - rkhunter - curl - iproute - lsof - unhide - unhide.rb +# To test the configuration: +# ansible all -m command -a '/usr/bin/rkhunter -c --nomow --rwo' - 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 - meta: flush_handlers |