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:
parent
aea4e50bab
commit
09f525598f
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue