From 3e057dda47e768df9b4c326ffd5b1426802e676f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 14 Jul 2015 19:25:01 +0000 Subject: [PATCH] Adjust selinux rules and add mod_ssl --- playbooks/hosts/artboard.fedorainfracloud.org.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/playbooks/hosts/artboard.fedorainfracloud.org.yml b/playbooks/hosts/artboard.fedorainfracloud.org.yml index 80dd65d199..358ee3b77b 100644 --- a/playbooks/hosts/artboard.fedorainfracloud.org.yml +++ b/playbooks/hosts/artboard.fedorainfracloud.org.yml @@ -49,7 +49,7 @@ - artboard - name: check the selinux context of the artboard dirs - command: matchpathcon "/srv/persist/artboard/(/.*)?" + command: matchpathcon "/srv/persist/artboard/(.*)" register: webcontext always_run: yes changed_when: false @@ -59,7 +59,7 @@ - artboard - name: set the SELinux policy for the artboard web dir - command: semanage fcontext -a -t httpd_sys_content_t "/srv/persist/artboard/(/.*)" + command: semanage fcontext -a -t httpd_sys_content_t "/srv/persist/artboard/(.*)" when: webcontext.stdout.find('httpd_sys_content_t') == -1 tags: - config @@ -78,6 +78,7 @@ - php-gd - php-mysql - cronie-noanacron + - mod_ssl tags: - artboard