forked from infra/ansible
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
|
|
@ -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