From d7c07d6cf53d3e746cdae83a460eae64bdb94e96 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 9 Dec 2015 04:24:01 +0000 Subject: [PATCH] Apply this to all virtservers --- roles/rkhunter/templates/rkhunter.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/rkhunter/templates/rkhunter.conf.j2 b/roles/rkhunter/templates/rkhunter.conf.j2 index 6a0acb2696..89dd40ffd8 100644 --- a/roles/rkhunter/templates/rkhunter.conf.j2 +++ b/roles/rkhunter/templates/rkhunter.conf.j2 @@ -386,7 +386,7 @@ ALLOWDEVFILE=/dev/shm/fmn-cache.dbm ALLOWDEVFILE=/dev/shm/squid-squid-page-pool.shm ALLOWDEVFILE=/dev/shm/squid-cache_mem.shm {% endif %} -{% if ansible_hostname.startswith('virthost') or ansible_hostname.startswith('qa') %} +{% if ansible_hostname in groups['virtservers'] %} # libvirt spice device makes a /dev/shm/spice file ALLOWDEVFILE=/dev/shm/spice.* {% endif %}