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 - artboard
- name: check the selinux context of the artboard dirs - name: check the selinux context of the artboard dirs
command: matchpathcon "/srv/persist/artboard/(/.*)?" command: matchpathcon "/srv/persist/artboard/(.*)"
register: webcontext register: webcontext
always_run: yes always_run: yes
changed_when: false changed_when: false
@ -59,7 +59,7 @@
- artboard - artboard
- name: set the SELinux policy for the artboard web dir - 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 when: webcontext.stdout.find('httpd_sys_content_t') == -1
tags: tags:
- config - config
@ -78,6 +78,7 @@
- php-gd - php-gd
- php-mysql - php-mysql
- cronie-noanacron - cronie-noanacron
- mod_ssl
tags: tags:
- artboard - artboard