Put this selabel type in place.
This commit is contained in:
parent
8642147bb0
commit
2b330e5475
2 changed files with 12 additions and 2 deletions
|
@ -71,12 +71,14 @@
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Create /srv/web/ for all the goodies.
|
- name: Create /srv/web/ for all the goodies.
|
||||||
file: dest=/srv/web owner=root group=root mode=0755 state=directory
|
file: >
|
||||||
|
dest=/srv/web state=directory
|
||||||
|
owner=root group=root mode=0755
|
||||||
|
setype=httpd_sys_content_t recurse=True
|
||||||
tags:
|
tags:
|
||||||
- httpd
|
- httpd
|
||||||
- httpd/website
|
- httpd/website
|
||||||
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
|
|
||||||
- role: httpd/website
|
- role: httpd/website
|
||||||
|
|
|
@ -18,6 +18,14 @@
|
||||||
tags:
|
tags:
|
||||||
- apps-fp-o
|
- apps-fp-o
|
||||||
|
|
||||||
|
- name: Make sure the correct setype is in place
|
||||||
|
file: >
|
||||||
|
dest=/srv/web/apps.fp.o/ state=directory
|
||||||
|
owner=root group=root mode=0755
|
||||||
|
setype=httpd_sys_content_t recurse=True
|
||||||
|
tags:
|
||||||
|
- apps-fp-o
|
||||||
|
|
||||||
- name: Copy in our app data yaml
|
- name: Copy in our app data yaml
|
||||||
file: >
|
file: >
|
||||||
src=apps.yaml dest=/usr/share/apps-fp-o/apps.yaml
|
src=apps.yaml dest=/usr/share/apps-fp-o/apps.yaml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue