Adjust selinux rules and add mod_ssl

This commit is contained in:
Kevin Fenzi 2015-07-14 19:25:01 +00:00
parent 7282e4946d
commit 3e057dda47

View file

@ -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