Apply this to all virtservers

This commit is contained in:
Kevin Fenzi 2015-12-09 04:24:01 +00:00
parent 9a3056a891
commit d7c07d6cf5

View file

@ -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 %}