Run rkhunter --propupd when installing or updating it's config
This commit is contained in:
parent
1ebbc5ffce
commit
e6e759d969
3 changed files with 10 additions and 4 deletions
|
@ -100,3 +100,6 @@
|
|||
|
||||
- name: restart supervisord
|
||||
service: name=supervisord state=restarted
|
||||
|
||||
- name: run rkhunter
|
||||
command: rkhunter --propupd
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
- name: copy sundry nuancier configuration
|
||||
template: src={{ item.file }}
|
||||
dest="{{ item.location }}/{{ item.dest }}"
|
||||
dest={{ item.location }}/{{ item.dest }}
|
||||
owner=apache group=apache mode=0600
|
||||
with_items:
|
||||
- { file: nuancier_admin.cfg, location: /etc/nuancier, dest: nuancier.cfg }
|
||||
|
|
|
@ -1,18 +1,21 @@
|
|||
---
|
||||
|
||||
- name: install rkhunter
|
||||
yum: name=rkhunter state=present
|
||||
notify:
|
||||
- run rkhunter
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: rkhunter.conf
|
||||
template: src=rkhunter.conf.j2 dest=/etc/rkhunter.conf mode=0640
|
||||
notify:
|
||||
- run rkhunter
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: rkhunter sysconfig
|
||||
copy: src=rkhunter.sysconfig dest=/etc/sysconfig/rkhunter mode=0640
|
||||
notify:
|
||||
- run rkhunter
|
||||
tags:
|
||||
- config
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue