mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
319 lines
6.6 KiB
YAML
319 lines
6.6 KiB
YAML
# WARNING: DO NOT MODIFY THIS FILE.
|
|
# CHANGES WILL BE LOST IF YOU DO A GIT PULL OR FETCH.
|
|
# Instead put changes in local_vars.yml which is not tracked by git.
|
|
|
|
# By convention we use True/False to indicate boolean constants.
|
|
|
|
# Installation Constants
|
|
content_base: "/library"
|
|
#doc_base: "/var"
|
|
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
|
|
|
|
#Configuration File(s)
|
|
xsce_config_file: /etc/xsce/xsce.ini
|
|
service_filelist: "{{ xsce_config_file }}"
|
|
|
|
# The following two variables control OFFLINE installs
|
|
use_cache: False # force cache use even when online
|
|
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
|
|
|
|
# Languages
|
|
default_language: en
|
|
language_priority: en es
|
|
|
|
# Time Zone (php needs timezone to be set)
|
|
local_tz: "{{lookup ('env','TZ') }}"
|
|
|
|
# Network Parameters
|
|
|
|
xsce_hostname: box
|
|
xsce_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
|
|
ssh_port: 22
|
|
gui_wan: True
|
|
adm_cons_force_ssl: False
|
|
adm_cons_allow_downloads: False
|
|
|
|
# Internal Wifi Access Point
|
|
# Values are used if there is an internal wifi adapter and hostapd is enabled
|
|
# The platform variable adapts install to specific hardware (raspberry pi=rpi2)
|
|
hostapd_enabled: True
|
|
host_ssid: "Internet in a Box"
|
|
host_wifi_mode: g
|
|
host_channel: 6
|
|
hostapd_secure: False
|
|
hostapd_password: "xsce2017"
|
|
|
|
#intended for developers
|
|
exFAT_enabled: False
|
|
user_wan_iface: auto
|
|
user_lan_iface: auto
|
|
wan_ip: dhcp
|
|
wan_netmask:
|
|
wan_gateway:
|
|
wan_nameserver:
|
|
#only change these if you know what you are doing
|
|
|
|
# Parameters by Aggregate Roles
|
|
# Each Role must have the following variables which are either True or False:
|
|
# <role-name>_install
|
|
# <role-name>_enabled
|
|
|
|
# Our current convention is to install everything in all aggregates
|
|
# And to enable everything in 1-PREP, 2-COMMON, and 3-BASE
|
|
|
|
# 1-PREP
|
|
|
|
# 2-COMMON
|
|
|
|
# 3-BASE
|
|
|
|
# dhcpd
|
|
dhcpd_install: True
|
|
dhcpd_enabled: False
|
|
|
|
# named
|
|
named_install: True
|
|
named_enabled: True
|
|
block_DNS: False
|
|
|
|
# dansguardian
|
|
dansguardian_install: True
|
|
dansguardian_enabled: False
|
|
|
|
# squid
|
|
squid_install: True
|
|
squid_enabled: True
|
|
|
|
# wondershaper
|
|
wondershaper_install: True
|
|
wondershaper_enabled: False
|
|
|
|
# Gateway and Filters
|
|
gw_squid_whitelist: False
|
|
gw_block_https: False
|
|
xsce_gateway_enabled: True
|
|
|
|
# Home page
|
|
# Default to the gui where the selection is made or override in localvars
|
|
xsce_home_url: /home
|
|
|
|
# you can change xsce_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
|
|
|
|
# 4-SERVER-OPTIONS
|
|
# sshd
|
|
sshd_enabled: True
|
|
|
|
# openvpn
|
|
vpn_presence: unleashkids.org
|
|
openvpn_server_port: 1194
|
|
openvpn_cron_enabled: False
|
|
openvpn_install: True
|
|
openvpn_enabled: False
|
|
|
|
# samba
|
|
samba_install: True
|
|
samba_enabled: False
|
|
|
|
# postgresql
|
|
postgresql_install: True
|
|
postgresql_enabled: False
|
|
|
|
# authserver
|
|
authserver_install: False
|
|
authserver_enabled: False
|
|
|
|
# usb-lib
|
|
usb_lib_install: True
|
|
usb_lib_enabled: True
|
|
|
|
# docker
|
|
docker_install: False
|
|
docker_enabled: False
|
|
|
|
# Common UNIX printing system
|
|
cups_install: True
|
|
cups_enabled: False
|
|
|
|
# 5-XO-SERVICES
|
|
|
|
# ejabberd
|
|
ejabberd_install: False
|
|
ejabberd_enabled: False
|
|
|
|
# idmgr and activity-server
|
|
idmgr_install: True
|
|
activity-server_install: True
|
|
xo_services_enabled: False
|
|
|
|
# 6-GENERIC-APPS
|
|
|
|
# MYSQL
|
|
mysql_install: True
|
|
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: fixmysql
|
|
|
|
# ELGG
|
|
elgg_install: True
|
|
elgg_enabled: False
|
|
# elgg_mysql_password: $6$xsce51$jeTwnATcbaa92xo0QBTgjLBU.5aVDDrbKeNyyC99R/TAWz6pvfzj.L7lfnOVVjD78nxqT.gkNn6XZmuRV0W3o1
|
|
elgg_mysql_password: elgg4kids
|
|
|
|
# OwnCloud
|
|
owncloud_install: False
|
|
owncloud_enabled: False
|
|
|
|
# WordPress
|
|
wordpress_install: True
|
|
wordpress_enabled: False
|
|
|
|
# Dokuwiki
|
|
dokuwiki_install: True
|
|
dokuwiki_enabled: False
|
|
|
|
# 7-EDU-APPS
|
|
|
|
# Moodle
|
|
moodle_install: True
|
|
moodle_enabled: False
|
|
|
|
# Internet-in-a-Box
|
|
iiab_install: True
|
|
iiab_enabled: False
|
|
|
|
# Pathagar
|
|
pathagar_install: False
|
|
pathagar_enabled: False
|
|
|
|
# Calibre
|
|
calibre_install: True
|
|
calibre_enabled: False
|
|
calibre_port: 8010
|
|
|
|
# RACHEL
|
|
rachel_install: False
|
|
rachel_enabled: False
|
|
rachel_content_found: False
|
|
#rachel_url: /rachel
|
|
rachel_doc_root: "{{ doc_root}}/modules"
|
|
|
|
# Kiwix-Serve
|
|
kiwix_install: True
|
|
kiwix_port: 3000
|
|
kiwix_serve_enabled: False
|
|
xsce_zim_path: /library/zims
|
|
|
|
# KA Lite
|
|
kalite_install: True
|
|
kalite_root: "/library/ka-lite"
|
|
kalite_user: kalite
|
|
kalite_password_hash: $6$<salt>$KHET0XRRsgAY.wOWyTOI3W7dyDh0ESOr48uI5vtk2xdzsU7aw0TF4ZkNuM34RmHBGMJ1fTCmOyVobo0LOhBlJ/
|
|
kalite_password: kalite
|
|
kalite_server_name: kalite
|
|
kalite_server_port: 8008
|
|
kalite_enabled: False
|
|
kalite_cron_enabled: False
|
|
|
|
#Sugarizer
|
|
sugarizer_install: True
|
|
sugarizer_enabled: False
|
|
|
|
# 8-MGMT-TOOLS
|
|
|
|
# schooltool
|
|
schooltool_install: False
|
|
schooltool_enabled: False
|
|
|
|
# sugar-stats
|
|
sugar_stats_install: True
|
|
sugar_stats_enabled: False
|
|
|
|
# ajenti
|
|
ajenti_install: True
|
|
ajenti_enabled: False
|
|
|
|
# munin
|
|
munin_install: True
|
|
munin_enabled: False
|
|
|
|
# monit
|
|
monit_install: True
|
|
monit_enabled: False
|
|
watchdog:
|
|
- sshd
|
|
- idmgr
|
|
- ejabberd
|
|
- httpd
|
|
- postgresql
|
|
- squid
|
|
|
|
# teamviewer
|
|
teamviewer_install: False
|
|
teamviewer_enabled: False
|
|
|
|
# vnstat
|
|
vnstat_install: True
|
|
vnstat_enabled: False
|
|
|
|
# awstats -- sumarizes http access logs
|
|
awstats_install: True
|
|
awstats_enabled: False
|
|
|
|
# xovis
|
|
xovis_install: True
|
|
xovis_enabled: False
|
|
xovis_target_host: "127.0.0.1:5984"
|
|
xovis_deployment_name: olpc
|
|
|
|
xovis_db_name: xovis
|
|
xovis_db_user: admin
|
|
xovis_db_password: admin
|
|
|
|
xovis_root: "/opt/xovis"
|
|
xovis_backup_dir: "/library/users"
|
|
xovis_chart_heading: "My School: Usage Data Visualization"
|
|
|
|
# 9-LOCAL-ADDONS
|
|
|
|
# Platforms - turn all off and let <OS>.yml turn on as appropriate
|
|
|
|
is_rpi: False
|
|
is_debian: False
|
|
is_debuntu: False
|
|
is_ubuntu: False
|
|
is_redhat: False
|
|
is_fedora: False
|
|
is_centos: False
|