1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

move creation of home page to http

This commit is contained in:
Tim Moody 2017-06-02 13:55:02 -04:00
parent 3e6108ff2f
commit 62b69149b9
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,16 @@
- name: Create home directory
file: path={{ doc_root }}/home
mode=0755
owner={{ apache_data }}
group={{ apache_data }}
state=directory
- name: Install admin home page into apache2
template: src=console/xsce-home-page.conf
dest=/etc/{{ apache_config_dir }}/xsce-home-page.conf
- name: Enable the home page
file: src=/etc/{{ apache_config_dir }}/xsce-home-page.conf
dest=/etc/apache2/sites-enabled/xsce-home-page.conf
state=link
when: is_debuntu

View file

@ -138,3 +138,4 @@
tags:
- base
- include: home-page.yml

View file

@ -0,0 +1,9 @@
# XSCE Home Page
# Redirect to home page on School Server
# Default is xs-portal
# RedirectMatch of root to home page
# See the note in default_vars.yml
RedirectMatch ^/$ {{ xsce_home_url }}