distgit: Pretend we're on NFS

Staging doesn't use NFS for its lookaside cache, like Prod does.

This makes SELinux happier, pretending that staging also is on NFS.
This commit is contained in:
Mathieu Bridon 2015-06-05 10:50:04 +02:00
parent aea4e50bab
commit 09f525598f

View file

@ -262,6 +262,14 @@
- lookaside
- selinux
- name: set the SELinux policy for the Lookaside Cache root directory
command: semanage fcontext -a -t nfs_t "/srv/cache(/.*)?"
when: lcachecontext.stdout.find('nfs_t') == -1 and env != "staging"
tags:
- config
- lookaside
- selinux
- name: install the fedora-ca.cert
copy: src={{private}}/files/fedora-ca.cert dest=/etc/httpd/conf/cacert.pem