commit c58a56c29ac7532c0c28b4d6e84455d2452718c8
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Sep 21 16:51:46 2017 +0200
Prep ipa
inventory/inventory | 2 ++
roles/rkhunter/templates/rkhunter.conf.j2 | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/inventory/inventory b/inventory/inventory
index 77f9ba0..f3f9a3d 100644
--- a/inventory/inventory
+++ b/inventory/inventory
@@ -20,6 +20,8 @@
hv01.online.rpmfusion.net
[fas]
fas01.online.rpmfusion.net
+[ipa]
+
[ipsilon]
ipsilon01.online.rpmfusion.net
diff --git a/roles/rkhunter/templates/rkhunter.conf.j2
b/roles/rkhunter/templates/rkhunter.conf.j2
index ecdfa91..663a4b8 100644
--- a/roles/rkhunter/templates/rkhunter.conf.j2
+++ b/roles/rkhunter/templates/rkhunter.conf.j2
@@ -602,8 +602,10 @@ OS_VERSION_FILE=/etc/{{ ansible_distribution|lower }}-release
#
#RTKT_DIR_WHITELIST=""
#RTKT_FILE_WHITELIST=""
+{% if inventory_hostname in groups['ipa'] %}
RTKT_FILE_WHITELIST="/var/log/pki/pki-tomcat/ca/system"
RTKT_FILE_WHITELIST="/var/log/pki/pki-tomcat/kra/system"
+{% endif %}
#
# To force rkhunter to use the supplied script for the 'stat' or
'readlink'