Use inventory_hostname instead of ansible_fqdn, which has some bad effects in some cases due to reverse dns.
This commit is contained in:
parent
e38af2272e
commit
23683f3d59
1 changed files with 1 additions and 1 deletions
|
@ -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_fqdn in groups['virtservers'] or ansible_fqdn in groups['openqa-workers'] or ansible_fqdn in groups['openqa-stg-workers'] %}
|
||||
{% if inventory_hostname in groups['virtservers'] or inventory_hostname in groups['openqa-workers'] or inventory_hostname in groups['openqa-stg-workers'] %}
|
||||
# libvirt spice device makes a /dev/shm/spice file
|
||||
ALLOWDEVFILE=/dev/shm/spice.*
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue