diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index bc5b6fc5e9..2c8fc65a66 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -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