diff --git a/roles/rkhunter/templates/rkhunter.conf.j2 b/roles/rkhunter/templates/rkhunter.conf.j2 index baa57f24ee..33d8a6cace 100644 --- a/roles/rkhunter/templates/rkhunter.conf.j2 +++ b/roles/rkhunter/templates/rkhunter.conf.j2 @@ -311,7 +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'] %} +{% 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 %}