diff --git a/roles/rkhunter/templates/rkhunter.conf.j2 b/roles/rkhunter/templates/rkhunter.conf.j2 index 33d8a6cace..4b8cd0f58d 100644 --- a/roles/rkhunter/templates/rkhunter.conf.j2 +++ b/roles/rkhunter/templates/rkhunter.conf.j2 @@ -311,9 +311,7 @@ ALLOWHIDDENDIR=/dev/.udev/rules.d {% if ansible_hostname.startswith('fed-cloud') %} ALLOWHIDDENDIR=/etc/.git {% endif %} -{% if inventory_hostname in groups['ipa'] or inventory_hostname in groups['ipa-stg'] or ansible_hostname.startswith('certgetter') or ansible_hostname.startswith('osbs') %} ALLOWHIDDENDIR=/etc/.java -{% endif %} # # Allow the specified hidden files.