mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Test (#20)
* change apache_data to apache_user in all * no libapach2 in centos. just php. no php-magick in centos * remove redundant vars entries * do not create apache user * missed one pound sign * soft code all references to apache_user * centos requires older setuptools * revert ansible_lsb.id in xsce.yml * try getting recent pip * move pip download to 2prep so that kalite success is not dependent on iiab coming first * still need to replace setuptools in kalite * add curl -- needed in debian * massivly substitue iiab for xsce, and rename files * completed runansible * centos fixes,install pip * appliance means no iptables rules * change to earlier version of setuptools for centos * delete file duplicate, hopefully unnecessary. generate the offline docs * wiki docs errors * create the admin group -- deleted earlier * use the --yes option with pip uninstall * base of repo moved from schoolserver to iiab, unleashkids.org->iiab.io * network detection broken due to tupo
This commit is contained in:
parent
6ef68cc480
commit
f319afa432
179 changed files with 978 additions and 672 deletions
|
@ -7,7 +7,7 @@ proxy_user: squid
|
|||
apache_service: httpd
|
||||
apache_user: apache
|
||||
apache_config_dir: httpd/conf.d
|
||||
apache_data: apache
|
||||
apache_user: apache
|
||||
apache_log_dir: /var/log/httpd
|
||||
smb_service: smb
|
||||
nmb_service: nmb
|
||||
|
|
|
@ -6,7 +6,7 @@ proxy: squid3
|
|||
proxy_user: proxy
|
||||
apache_service: apache2
|
||||
apache_config_dir: apache2/sites-available
|
||||
apache_data: www-data
|
||||
apache_user: www-data
|
||||
apache_log_dir: /var/log/apache2
|
||||
smb_service: smbd
|
||||
nmb_service: nmbd
|
||||
|
|
|
@ -6,7 +6,7 @@ proxy_user: squid
|
|||
apache_service: httpd
|
||||
apache_user: apache
|
||||
apache_config_dir: httpd/conf.d
|
||||
apache_data: apache
|
||||
apache_user: apache
|
||||
apache_log_dir: /var/log/httpd
|
||||
smb_service: smb
|
||||
nmb_service: nmb
|
||||
|
|
|
@ -6,7 +6,7 @@ proxy_user: squid
|
|||
apache_service: httpd
|
||||
apache_user: apache
|
||||
apache_config_dir: httpd/conf.d
|
||||
apache_data: apache
|
||||
apache_user: apache
|
||||
apache_log_dir: /var/log/httpd
|
||||
smb_service: smb
|
||||
nmb_service: nmb
|
||||
|
|
|
@ -10,7 +10,7 @@ proxy_user: proxy
|
|||
apache_service: apache2
|
||||
apache_user: apache
|
||||
apache_config_dir: apache2/sites-available
|
||||
apache_data: www-data
|
||||
apache_user: www-data
|
||||
apache_log_dir: /var/log/apache2
|
||||
smb_service: smbd
|
||||
nmb_service: nmbd
|
||||
|
|
|
@ -7,7 +7,7 @@ proxy_user: proxy
|
|||
apache_service: apache2
|
||||
apache_user: apache
|
||||
apache_config_dir: apache2/sites-available
|
||||
apache_data: www-data
|
||||
apache_user: www-data
|
||||
apache_log_dir: /var/log/apache2
|
||||
smb_service: smbd
|
||||
nmb_service: nmbd
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Put variables for your installation that override defaults here
|
||||
# Better still, put this file in a branch of https://github.com/XSCE/xsce-local for your deployment
|
||||
# Better still, put this file in a branch of https://github.com/XSCE/iiab-local for your deployment
|
||||
|
||||
#xsce_admin_user: xsce-admin
|
||||
#iiab_admin_user: iiab-admin
|
||||
|
||||
# obtain a password hash with - python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'
|
||||
#xsce_admin_passw_hash:
|
||||
#iiab_admin_passw_hash:
|
||||
varible: value
|
||||
# 4-server-options
|
||||
authserver_install: False
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Put variables for your installation that override defaults here
|
||||
# Better still, put this file in a branch of https://github.com/XSCE/xsce-local for your deployment
|
||||
# Better still, put this file in a branch of https://github.com/XSCE/iiab-local for your deployment
|
||||
|
||||
#xsce_admin_user: xsce-admin
|
||||
#iiab_admin_user: iiab-admin
|
||||
|
||||
# obtain a password hash with - python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'
|
||||
#xsce_admin_passw_hash:
|
||||
#iiab_admin_passw_hash:
|
||||
varible: value
|
||||
# 4-server-options
|
||||
authserver_install: False
|
||||
|
|
|
@ -10,16 +10,16 @@ content_base: "/library"
|
|||
doc_base: "{{ content_base }}/www"
|
||||
doc_root: "{{ doc_base }}/html"
|
||||
|
||||
xsce_base: /opt/schoolserver
|
||||
xsce_dir: "{{ xsce_base }}/iiab"
|
||||
pip_packages_dir: "{{ xsce_base }}/pip-packages"
|
||||
yum_packages_dir: "{{ xsce_base }}/yum-packages"
|
||||
downloads_dir: "{{ xsce_base }}/downloads"
|
||||
xsce_download_url: http://download.unleashkids.org/xsce/downloads
|
||||
iiab_base: /opt/iiab
|
||||
iiab_dir: "{{ iiab_base }}/iiab"
|
||||
pip_packages_dir: "{{ iiab_base }}/pip-packages"
|
||||
yum_packages_dir: "{{ iiab_base }}/yum-packages"
|
||||
downloads_dir: "{{ iiab_base }}/downloads"
|
||||
iiab_download_url: http://download.iiab.io/packages
|
||||
|
||||
#Configuration File(s)
|
||||
xsce_config_file: /etc/xsce/xsce.ini
|
||||
service_filelist: "{{ xsce_config_file }}"
|
||||
iiab_config_file: /etc/iiab/iiab.ini
|
||||
service_filelist: "{{ iiab_config_file }}"
|
||||
|
||||
# The following two variables control OFFLINE installs
|
||||
use_cache: False # force cache use even when online
|
||||
|
@ -28,11 +28,8 @@ no_network: False # use cache or error out if cache does not exist
|
|||
# Users and Passwords
|
||||
# obtain a password hash with - python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'
|
||||
|
||||
xsce_admin_user: xsce-admin
|
||||
xsce_admin_passw_hash: $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGmdSvy3s/j7tn6OnyTTLmlV7SsN0lCUAFzxSop.
|
||||
|
||||
# password is 12admin
|
||||
dummy: $6$xsce51$JhKBX/nwYLG0DDMTPN6radpgd//P881O/JX0GKFn32XUrR/D0VqnVFdvMdI.XW.eGaQY2VBCraLq6qiH0fbkD0
|
||||
iiab_admin_user: iiab-admin
|
||||
iiab_admin_passw_hash: $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGmdSvy3s/j7tn6OnyTTLmlV7SsN0lCUAFzxSop.
|
||||
|
||||
# Languages
|
||||
default_language: en
|
||||
|
@ -43,15 +40,15 @@ local_tz: "{{lookup ('env','TZ') }}"
|
|||
|
||||
# Network Parameters
|
||||
|
||||
xsce_hostname: box
|
||||
xsce_domain: lan
|
||||
iiab_hostname: box
|
||||
iiab_domain: lan
|
||||
lan_ip: 172.18.96.1
|
||||
lan_netmask: 255.255.224.0
|
||||
|
||||
#Read docs/NETWORKING.rst
|
||||
# Gateway mode
|
||||
xsce_lan_enabled: True
|
||||
xsce_wan_enabled: True
|
||||
iiab_lan_enabled: True
|
||||
iiab_wan_enabled: True
|
||||
ssh_port: 22
|
||||
gui_wan: True
|
||||
adm_cons_force_ssl: False
|
||||
|
@ -65,7 +62,7 @@ host_ssid: "Internet in a Box"
|
|||
host_wifi_mode: g
|
||||
host_channel: 6
|
||||
hostapd_secure: False
|
||||
hostapd_password: "xsce2017"
|
||||
hostapd_password: "iiab2017"
|
||||
|
||||
#intended for developers
|
||||
exFAT_enabled: False
|
||||
|
@ -115,19 +112,19 @@ wondershaper_enabled: False
|
|||
# Gateway and Filters
|
||||
gw_squid_whitelist: False
|
||||
gw_block_https: False
|
||||
xsce_gateway_enabled: True
|
||||
iiab_gateway_enabled: True
|
||||
|
||||
# Home page
|
||||
# Default to the gui where the selection is made or override in localvars
|
||||
xsce_home_url: /home
|
||||
iiab_home_url: /home
|
||||
|
||||
# you can change xsce_home_url in local_vars in order to get a different home page
|
||||
# you can change iiab_home_url in local_vars in order to get a different home page
|
||||
# these could be one of the following (assuming they are enabled):
|
||||
|
||||
#xsce_home_url: /home
|
||||
#xsce_home_url: /xs-portal - the alternate home page
|
||||
#xsce_home_url: /wordpress
|
||||
#xsce_home_url: /wiki - either dokuwiki or mediawiki
|
||||
#iiab_home_url: /home
|
||||
#iiab_home_url: /xs-portal - the alternate home page
|
||||
#iiab_home_url: /wordpress
|
||||
#iiab_home_url: /wiki - either dokuwiki or mediawiki
|
||||
|
||||
# 4-SERVER-OPTIONS
|
||||
# sshd
|
||||
|
@ -183,13 +180,13 @@ mysql_enabled: False
|
|||
phpmyadmin_install: True
|
||||
phpmyadmin_enabled: False
|
||||
# password is fixmysql
|
||||
# mysql_root_password: $6$xsce51$3ICIW0CLWxxMW2a3yrHZ38ukZItD5tcadL4rWcE9D.qIGStxhh8rRsaSxoj3b.MYxI/VRDNjpzSYK/V6zkWFI0
|
||||
# mysql_root_password: $6$iiab51$3ICIW0CLWxxMW2a3yrHZ38ukZItD5tcadL4rWcE9D.qIGStxhh8rRsaSxoj3b.MYxI/VRDNjpzSYK/V6zkWFI0
|
||||
mysql_root_password: fixmysql
|
||||
|
||||
# ELGG
|
||||
elgg_install: True
|
||||
elgg_enabled: False
|
||||
# elgg_mysql_password: $6$xsce51$jeTwnATcbaa92xo0QBTgjLBU.5aVDDrbKeNyyC99R/TAWz6pvfzj.L7lfnOVVjD78nxqT.gkNn6XZmuRV0W3o1
|
||||
# elgg_mysql_password: $6$iiab51$jeTwnATcbaa92xo0QBTgjLBU.5aVDDrbKeNyyC99R/TAWz6pvfzj.L7lfnOVVjD78nxqT.gkNn6XZmuRV0W3o1
|
||||
elgg_mysql_password: elgg4kids
|
||||
|
||||
# OwnCloud
|
||||
|
@ -234,7 +231,7 @@ rachel_doc_root: "{{ doc_root}}/modules"
|
|||
kiwix_install: True
|
||||
kiwix_port: 3000
|
||||
kiwix_serve_enabled: False
|
||||
xsce_zim_path: /library/zims
|
||||
iiab_zim_path: /library/zims
|
||||
|
||||
# KA Lite
|
||||
kalite_install: True
|
||||
|
|
29
vars/local_vars.yml
Normal file
29
vars/local_vars.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Put variables for your installation that override defaults here
|
||||
# Better still, put this file in a branch of https://github.com/XSCE/iiab-local for your deployment
|
||||
|
||||
#iiab_admin_user: iiab-admin
|
||||
|
||||
# obtain a password hash with - python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'
|
||||
#iiab_admin_passw_hash:
|
||||
varible: value
|
||||
# 4-server-options
|
||||
authserver_install: False
|
||||
authserver_enabled: False
|
||||
# 5-xoservices
|
||||
xo_services_install: True
|
||||
ejabberd_install: False
|
||||
ejabberd_enabled: False
|
||||
idmgr_install: False
|
||||
debian_schooltool_install: False
|
||||
# 6-generic-aps
|
||||
# 7-edu-aps
|
||||
pathagar_install: False
|
||||
# 8-mgmat-tools
|
||||
sugar_stats_install: False
|
||||
ajenti_install: False
|
||||
monit_install: True
|
||||
xovis_install: False
|
||||
teamviewer_install: False
|
||||
activity_server_enabled: True
|
||||
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
# Put variables for your installation that override defaults here
|
||||
# Better still, put this file in a branch of https://github.com/XSCE/xsce-local for your deployment
|
||||
# Better still, put this file in a branch of https://github.com/XSCE/iiab-local for your deployment
|
||||
|
||||
#xsce_admin_user: xsce-admin
|
||||
#iiab_admin_user: iiab-admin
|
||||
|
||||
# obtain a password hash with - python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'
|
||||
#xsce_admin_passw_hash:
|
||||
#iiab_admin_passw_hash:
|
||||
varible: value
|
||||
# 4-server-options
|
||||
authserver_install: False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue