From ae2df0d7e833087c6d5f73fbb8eb3df5733e3ca8 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 20 Dec 2013 17:00:16 +0000 Subject: [PATCH] Allow apache to read/use static content --- roles/nuancier/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/nuancier/tasks/main.yml b/roles/nuancier/tasks/main.yml index fb957058be..6affecd112 100644 --- a/roles/nuancier/tasks/main.yml +++ b/roles/nuancier/tasks/main.yml @@ -65,6 +65,13 @@ state=true persistent=true +- name: apply selinux type to static files + file: > + des/usr/lib/python2.6/site-packages/nuancier/static/ + setype=httpd_sys_content_t + state=directory + recurse=yes + - name: hotfix python-fedora-flask to include latest flask_fas_openid template: src={{ item.file }} dest={{ item.location }}/{{ item.file }}