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