2019-01-30 23:05:41 +00:00
# DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN "git pull" IS RUN!
# PUT YOUR CUSTOMIZATIONS HERE: /etc/iiab/local_vars.yml
# READ "What is local_vars.yml and how do I customize it?" IN http://FAQ.IIAB.IO
2017-05-27 18:09:50 +00:00
2019-01-30 23:05:41 +00:00
# By convention we use True/False to indicate boolean values.
2017-05-27 18:09:50 +00:00
2018-10-15 09:20:01 +00:00
# Configuration Files
2018-10-15 07:17:49 +00:00
iiab_local_vars_file : /etc/iiab/local_vars.yml
2018-10-15 08:46:14 +00:00
iiab_env_file : /etc/iiab/iiab.env
2018-10-15 08:44:56 +00:00
iiab_ini_file : /etc/iiab/iiab.ini
2017-05-27 18:09:50 +00:00
2017-06-09 23:25:56 +00:00
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
2017-05-27 18:09:50 +00:00
2018-10-15 07:17:49 +00:00
content_base : "/library"
doc_base : "{{ content_base }}/www"
doc_root : "{{ doc_base }}/html"
2017-05-27 18:09:50 +00:00
2018-10-15 07:17:49 +00:00
# Ansible's default timeout for "get_url:" downloads (10 seconds) often fails
download_timeout : 200
2017-05-27 18:09:50 +00:00
2018-10-15 07:17:49 +00:00
# Languages (for Apache)
default_language : en
language_priority : en es fr
2017-05-27 18:09:50 +00:00
2018-10-15 07:05:34 +00:00
# Set iiab_admin_user_install: False if you don't want iiab_admin_user & wheel
# group auto-created in roles/iiab-admin/tasks/main.yml (hence disabling sudo-
# checks/warnings of published passwds like pi/raspberry & iiab-admin/g0adm1n).
iiab_admin_user_install : True
# If iiab_admin_user_install: False, set iiab_admin_user (below) to an existing
# Linux user that has sudo access, for login to Admin Console http://box/admin
2017-06-09 23:25:56 +00:00
iiab_admin_user : iiab-admin
2018-10-15 07:53:00 +00:00
iiab_admin_published_pwd : g0adm1n # For live checks/alerts of published pwds
2018-10-15 07:29:26 +00:00
# Password hash to override above, if Ansible creates above user:
2018-10-15 07:23:02 +00:00
iiab_admin_pwd_hash : $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGmdSvy3s/j7tn6OnyTTLmlV7SsN0lCUAFzxSop.
2018-10-15 07:05:34 +00:00
# Obtain a password hash - NEW MORE SECURE WAY:
# python3 -c 'import crypt; print(crypt.crypt("<plaintext>", crypt.mksalt(crypt.METHOD_SHA512)))'
# Obtain a password hash - OLD WAY:
2017-12-30 11:31:02 +00:00
# python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'
2017-12-30 11:00:20 +00:00
2017-05-27 18:09:50 +00:00
# Time Zone (php needs timezone to be set)
2017-07-05 06:58:41 +00:00
local_tz : "{{ ansible_date_time.tz }}"
2017-05-27 18:09:50 +00:00
2017-10-27 09:31:32 +00:00
# Read https://github.com/iiab/iiab/wiki/IIAB-Networking
# Also readable offline @ http://box/info/IIAB-Networking.html
2018-10-15 07:17:49 +00:00
# NETWORK PARAMETERS FOLLOW ACROSS THE NEXT 100 LINES, as enabled by Ansible's
2018-07-12 18:19:43 +00:00
# NETWORK role (/opt/iiab/iiab/roles/network/*) in 4-SERVER-OPTIONS below.
# SEE ALSO: /opt/iiab/iiab/roles/network/defaults/main.yml
2017-05-27 18:09:50 +00:00
2018-10-15 07:17:49 +00:00
# The following variable may be useful in debugging
disregard_network : False # use cache or error out if cache does not exist
2017-06-09 23:25:56 +00:00
iiab_hostname : box
iiab_domain : lan
2017-05-27 18:09:50 +00:00
lan_ip : 172.18 .96 .1
lan_netmask : 255.255 .224 .0
2019-01-09 22:53:09 +00:00
# Homepage: set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
2019-01-09 22:31:21 +00:00
iiab_home_url : /home
2017-10-11 13:33:27 +00:00
# Internal Wi-Fi Access Point
# Values are used if there is an internal Wi-Fi adapter and hostapd is enabled
2017-05-27 18:09:50 +00:00
# The platform variable adapts install to specific hardware (raspberry pi=rpi2)
2018-07-20 02:18:34 +00:00
# Raspbian req WiFi country since March 2018. CHANGE IT IN /etc/iiab/local_vars.yml
2018-05-10 16:26:00 +00:00
host_country_code : US
2017-05-27 18:09:50 +00:00
host_ssid : "Internet in a Box"
host_wifi_mode : g
host_channel : 6
hostapd_secure : False
2017-09-05 13:50:16 +00:00
hostapd_password : changeme
2018-01-01 15:48:43 +00:00
hostapd_enabled : True
# Above is forcibly set to False (in roles/network/tasks/main.yml) if IIAB is
# being WiFi-installed (run "iiab-hotspot-on" AFTER ./iiab-install completes
# and content is downloaded, to enable the internal WiFi Access Point / AP!)
2017-11-27 17:08:11 +00:00
reboot_to_AP : False
2018-01-01 15:48:43 +00:00
# For those installing IIAB over WiFi: "reboot_to_AP: True" overrides the above
2018-01-01 16:30:14 +00:00
# detection of WiFi-as-gateway, forcing "hostapd_enabled: True" regardless.
2017-05-27 18:09:50 +00:00
2017-10-27 11:15:49 +00:00
# Gateway mode
iiab_lan_enabled : True
iiab_wan_enabled : True
ssh_port : 22
2017-11-24 19:43:58 +00:00
# Ties in what the user populated in the GUI for static WAN IP address info:
2017-10-27 11:15:49 +00:00
gui_wan : True
adm_cons_force_ssl : False
adm_cons_allow_downloads : False
2019-01-03 20:07:00 +00:00
# Enables "campus access" to kiwix (3000), kalite (8008) & calibre (8010 or
# 8080) on WAN side of server. See network/templates/gateway/iiab-gen-iptables
# within github.com/iiab/iiab/blob/master/roles/
services_externally_visible : True
2017-10-27 11:15:49 +00:00
# Gateway and Filters
2019-01-03 20:07:00 +00:00
# Most all implementations use "iiab_gateway_enabled: False" within
2017-11-24 19:22:08 +00:00
# local_vars.yml as they cannot afford Internet access for students
# and teachers, and the many associated IT/support/training costs.
2019-01-03 20:07:00 +00:00
iiab_gateway_enabled : False
2017-10-27 11:15:49 +00:00
gw_squid_whitelist : False
gw_block_https : False
2019-01-03 17:53:11 +00:00
dhcpd_install : False
2017-05-27 18:09:50 +00:00
dhcpd_enabled : False
2019-01-03 19:11:41 +00:00
# named (BIND)
2019-01-03 17:53:11 +00:00
named_install : False
2018-10-07 13:11:01 +00:00
named_enabled : False
2017-05-27 18:09:50 +00:00
block_DNS : False
2019-01-03 18:08:57 +00:00
# dnsmasq - handles DHCP and DNS
2018-07-04 17:56:48 +00:00
dnsmasq_install : True
2018-10-03 16:47:22 +00:00
dnsmasq_enabled : True
2018-06-14 18:55:54 +00:00
2018-07-19 15:23:12 +00:00
# Enable in local_vars.yml AFTER installing IIAB! Then run "cd /opt/iiab/iiab; ./iiab-network"
2018-07-13 17:33:02 +00:00
dns_jail_enabled : False
2018-10-03 18:31:06 +00:00
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
2018-12-12 16:44:29 +00:00
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
2019-01-03 18:01:16 +00:00
captive_portal_install : False
captive_portal_enabled : False
Cap2 (#1300)
* move captive portal to its own role
* runrole still not working
* make apache name consistent, define py_captive_portal_port
* record android fixes
* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows
* works all platforms
* one captive_portal_install not changed to py_captive...
* port into defaults
* windows 7,8,10,mac,ios,android 5,7
* add # to dnsmasq.d/captive
* guess what android 8 might need
* move captive portal to its own role
* runrole still not working
* make apache name consistent, define py_captive_portal_port
* record android fixes
* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows
* works all platforms
* one captive_portal_install not changed to py_captive...
* port into defaults
* windows 7,8,10,mac,ios,android 5,7
* add # to dnsmasq.d/captive
* guess what android 8 might need
* restart apache2 and dnsmasq in role
* do not hard code apache name
* cut out disfunctional experiments
* variable py_captive_portal_port misspelled
* add wildcard serveralias to box.lan vhost to fix default
* add in STDOUT to log
* remove the py_
* add in msn to urls to capture
* missed a few py_
2018-11-18 04:09:40 +00:00
captive_portal_port : 9090
2018-12-12 16:38:03 +00:00
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
2018-10-03 18:31:06 +00:00
2018-12-09 16:50:31 +00:00
# Set to "False" if you want to revert to the older Dynamic Menuing system
# (prior to IIAB 6.7, this had used https://github.com/iiab/iiab-menu)
js_menu_install : True
2018-06-14 18:55:54 +00:00
2017-10-11 14:01:22 +00:00
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
2017-09-01 00:29:17 +00:00
wondershaper_install : False
2017-05-27 18:09:50 +00:00
wondershaper_enabled : False
2017-11-24 19:27:36 +00:00
# Intended for developers: ONLY CHANGE THESE IF YOU KNOW WHAT YOU ARE DOING
2017-11-24 19:43:58 +00:00
# The following 2 override the detection when not "auto"
2017-10-27 09:31:32 +00:00
user_wan_iface : auto
user_lan_iface : auto
wan_ip : dhcp
wan_netmask :
wan_gateway :
wan_nameserver :
2018-10-15 14:25:56 +00:00
2017-05-27 18:09:50 +00:00
2018-10-15 13:23:18 +00:00
# Parameters for Aggregate Roles
# Each Role should have the following variables which are either True or False:
2017-10-27 09:31:32 +00:00
# <role-name>_install
# <role-name>_enabled
2017-05-27 18:09:50 +00:00
2018-10-15 13:23:18 +00:00
# Past convention had been to install everything in all aggregate roles (stages)
2017-10-27 09:31:32 +00:00
# And to enable everything in 1-PREP, 2-COMMON, and 3-BASE-SERVER
2018-08-30 21:15:43 +00:00
# 1-PREP
2017-10-27 09:45:34 +00:00
2018-10-15 13:23:18 +00:00
sshd_enabled : True
# roles/iiab-admin runs here
# SEE IIAB-ADMIN VARIABLES NEAR TOP OF THIS FILE: e.g. iiab_admin_user_install,
# iiab_admin_user, iiab_admin_published_pwd, iiab_admin_pwd_hash
openvpn_install : True
openvpn_enabled : False
# For /etc/iiab/openvpn_handle
openvpn_handle : ""
# cron seems necessary on CentOS:
openvpn_cron_enabled : False
# General OpenVPN settings
openvpn_server : xscenet.net
openvpn_server_virtual_ip : 10.8 .0 .1
openvpn_server_port : 1194
2018-10-15 14:25:56 +00:00
2017-10-27 09:31:32 +00:00
# 2-COMMON
2018-10-15 14:37:28 +00:00
# Auto-enabled in roles/2-common/tasks/packages.yml as set in
# 0-init/defaults/main.yml AND 0-init/tasks/main.yml :
2018-10-15 14:25:56 +00:00
exFAT_enabled : True
# /usr/libexec/iiab-startup.sh is much like autoexec.bat & /etc/rc.local
# It's put in place by 2-common/tasks/iiab-startup.yml at the end of Stage 2.
2017-10-27 09:31:32 +00:00
# 3-BASE-SERVER
2018-07-13 17:33:02 +00:00
# Make this False to disable http://box/common/services/power_off.php button:
2018-09-23 23:00:56 +00:00
apache_allow_sudo : True
2018-10-15 13:23:18 +00:00
# For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147
2018-11-07 19:16:50 +00:00
# WARNING: Enabling this might cause excess use of RAM/disk or other resources!
2018-09-24 16:36:22 +00:00
apache_high_php_limits : False
2018-10-15 13:23:18 +00:00
# SEE ALSO VARIABLES NEAR TOP OF THIS FILE: default_language, language_priority
2017-10-27 09:31:32 +00:00
2017-10-30 17:49:56 +00:00
# MySQL MANDATORY - THESE SETTINGS HAVE NO EFFECT - SEE roles/1-prep/tasks/computed_vars.yml, roles/mysql/tasks/main.yml
2017-10-27 09:31:32 +00:00
mysql_install : True
mysql_enabled : True
# mysql_root_password: $6$iiab51$3ICIW0CLWxxMW2a3yrHZ38ukZItD5tcadL4rWcE9D.qIGStxhh8rRsaSxoj3b.MYxI/VRDNjpzSYK/V6zkWFI0
mysql_root_password : fixmysql
2018-08-30 21:15:43 +00:00
2017-05-27 18:09:50 +00:00
# 4-SERVER-OPTIONS
2017-10-11 03:46:33 +00:00
2018-10-16 11:44:12 +00:00
# DNS prep (dnsmasq, named &/or dhcpd) run here. The full network stage runs
# after 9-LOCAL-ADDONS (or manually run "cd /opt/iiab/iiab; ./iiab-network")
2018-10-15 14:25:56 +00:00
squid_install : False
squid_enabled : False
2019-01-10 19:18:11 +00:00
# DansGuardian REQUIRES Squid (above) be installed & enabled
2018-10-15 14:25:56 +00:00
dansguardian_install : False
dansguardian_enabled : False
2017-05-27 18:09:50 +00:00
2017-10-30 17:30:51 +00:00
# PostgreSQL auto-installed by Moodle &/or Pathagar as nec, no need to touch!
# roles/1-prep/tasks/computed_vars.yml, roles/4-server-options/tasks/main.yml
2017-10-28 13:14:58 +00:00
postgresql_install : False
postgresql_enabled : False
2019-01-09 22:31:21 +00:00
# Unmaintained
# authserver_install: False
# authserver_enabled: False
2017-05-27 18:09:50 +00:00
2017-10-27 09:31:32 +00:00
# Common UNIX Printing System (CUPS)
2019-01-03 18:08:57 +00:00
cups_install : False
2017-10-27 09:31:32 +00:00
cups_enabled : False
2019-01-10 22:26:47 +00:00
cups_port : 631
2017-10-27 09:31:32 +00:00
# Samba. Take a security audit seriously before deploying this.
samba_install : False
samba_enabled : False
2017-05-27 18:09:50 +00:00
# usb-lib
usb_lib_install : True
usb_lib_enabled : True
2018-10-16 11:44:12 +00:00
# Show entire contents of USB sticks/drives (at http://box/usb)
2019-02-07 17:34:09 +00:00
iiab_usb_lib_show_all : True
2017-05-27 18:09:50 +00:00
2017-10-27 09:31:32 +00:00
# Toggle iiab-refresh-wiki-docs scraping for offline docs (http://box/info)
nodocs : False
2017-05-27 18:09:50 +00:00
2018-08-30 21:15:43 +00:00
2017-10-11 03:46:33 +00:00
# 5-XO-SERVICES
2017-10-27 09:31:32 +00:00
# Lesser-supported XO services need additional testing. Please contact
2017-10-11 03:46:33 +00:00
# http://lists.laptop.org/pipermail/server-devel/ if you're able to help test.
xo_services_install : False
xo_services_enabled : False
2017-10-27 09:31:32 +00:00
activity_server_install : False
activity_server_enabled : False
2017-10-11 03:46:33 +00:00
2018-10-16 11:44:12 +00:00
# Please instead consider 'ejabberd' in Stage 6-GENERIC-APPS below
2017-10-11 03:46:33 +00:00
ejabberd_xs_install : False
ejabberd_xs_enabled : False
2018-10-16 11:44:12 +00:00
# Change calibre_port from 8080 to 8010 below, if you enable idmgr
2017-10-11 03:46:33 +00:00
idmgr_install : False
idmgr_enables : False
2017-05-27 18:09:50 +00:00
2018-08-30 21:15:43 +00:00
# 6-GENERIC-APPS
2018-08-27 20:16:42 +00:00
2017-10-27 09:31:32 +00:00
dokuwiki_install : False
dokuwiki_enabled : False
2017-10-11 03:46:33 +00:00
2018-03-22 14:52:07 +00:00
mediawiki_install : False
mediawiki_enabled : False
2019-01-03 18:08:57 +00:00
elgg_install : False
2017-05-27 18:09:50 +00:00
elgg_enabled : False
2017-06-09 23:25:56 +00:00
# elgg_mysql_password: $6$iiab51$jeTwnATcbaa92xo0QBTgjLBU.5aVDDrbKeNyyC99R/TAWz6pvfzj.L7lfnOVVjD78nxqT.gkNn6XZmuRV0W3o1
2017-05-27 18:09:50 +00:00
elgg_mysql_password : elgg4kids
2017-10-27 09:31:32 +00:00
ejabberd_install : False
ejabberd_enabled : False
2019-03-02 08:16:12 +00:00
# Gitea
gitea_install : False
gitea_enabled : False
2017-05-27 18:09:50 +00:00
2019-01-03 19:41:40 +00:00
# Lokole (email for rural communities) from https://ascoderu.ca
2019-01-03 18:08:57 +00:00
lokole_install : False
2018-11-04 05:26:15 +00:00
lokole_enabled : False
2017-05-27 18:09:50 +00:00
2019-01-15 21:20:30 +00:00
# MQTT pub-sub broker for IoT on Raspberry Pi etc
2019-01-15 15:07:32 +00:00
mosquitto_install : False
mosquitto_enabled : False
2019-01-15 14:10:36 +00:00
mosquitto_port : 1883
2019-01-29 15:47:25 +00:00
# Node.js version used by roles/nodejs/tasks/main.yml for 3 roles:
2019-01-29 15:45:25 +00:00
# nodered (Node-RED), pbx (Asterix, FreePBX) & sugarizer (Sugarizer)
2019-02-04 00:23:06 +00:00
nodejs_version : 10. x # was 8.x until 2019-02-02
2019-01-29 15:23:29 +00:00
2019-01-15 21:20:30 +00:00
# Flow-based visual programming for wiring together IoT hardware devices etc
2019-01-15 15:07:32 +00:00
nodered_install : False
nodered_enabled : False
2019-01-15 14:10:36 +00:00
nodered_port : 1880
2019-02-14 15:30:18 +00:00
nodered_web_path : nodered
2018-08-30 21:15:43 +00:00
2017-10-11 13:33:27 +00:00
# Nextcloud
2019-01-15 21:20:30 +00:00
nextcloud_install : False
2017-10-11 13:33:27 +00:00
nextcloud_enabled : False
2019-02-09 18:40:17 +00:00
# A full-featured PBX (for rural telephony, etc) based on Asterisk and FreePBX.
2019-02-14 14:34:07 +00:00
# Works on Ubuntu 18.04, Debian 9. Experimental on Rasp/RPi 3. Uses Node.js 10.x
2019-01-17 06:47:59 +00:00
pbx_install : False
pbx_enabled : False
2019-01-19 07:47:10 +00:00
asterisk_chan_dongle : False
2019-02-10 15:19:35 +00:00
pbx_signaling_ports_chan_sip : "5160:5161"
pbx_signaling_ports_chan_pjsip : "5060"
pbx_data_ports : "10000:20000"
2019-01-17 06:47:59 +00:00
2018-10-16 11:44:12 +00:00
# If using WordPress intensively, set apache_high_php_limits in 3-BASE-SERVER
2019-01-15 21:20:30 +00:00
wordpress_install : False
wordpress_enabled : False
2017-05-27 18:09:50 +00:00
2018-08-30 21:15:43 +00:00
2017-05-27 18:09:50 +00:00
# 7-EDU-APPS
2018-08-29 01:53:13 +00:00
# KA Lite - SEE THE "Transmission" BITTORRENT DOWNLOADER FURTHER BELOW, TO INSTALL THOUSANDS OF VIDEOS
2017-05-27 18:09:50 +00:00
kalite_install : True
2018-07-12 05:36:38 +00:00
kalite_enabled : False
kalite_server_port : 8008
2017-05-27 18:09:50 +00:00
kalite_root : "/library/ka-lite"
2018-07-12 05:37:55 +00:00
# Unused in 2018; but remain as placeholders for Fedora 18 legacy (XO laptops)
2018-07-12 05:36:38 +00:00
kalite_cron_enabled : False
2017-05-27 18:09:50 +00:00
kalite_user : kalite
kalite_password_hash : $6$<salt>$KHET0XRRsgAY.wOWyTOI3W7dyDh0ESOr48uI5vtk2xdzsU7aw0TF4ZkNuM34RmHBGMJ1fTCmOyVobo0LOhBlJ/
kalite_password : kalite
2018-07-16 16:09:52 +00:00
kolibri_install : False
kolibri_enabled : False
2018-07-17 05:11:46 +00:00
kolibri_http_port : 8009
2018-07-16 16:09:52 +00:00
2017-10-27 09:31:32 +00:00
kiwix_install : True
kiwix_enabled : True
kiwix_port : 3000
iiab_zim_path : /library/zims
moodle_install : False
moodle_enabled : False
2018-10-16 11:44:12 +00:00
# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
2017-10-27 09:31:32 +00:00
2019-01-31 06:26:32 +00:00
# MongoDB (/library/dbdata/mongodb) is used by Sugarizer:
# Its 2 settings below are auto-set to True (in roles/0-init/tasks/main.yml) when: sugarizer_enabled
# The mongodb playbook itself is later invoked by roles/sugarizer/meta/main.yml
mongodb_install : False
mongodb_enabled : False
mongodb_port : 27018
# roles/sugarizer/meta/main.yml auto-invokes 2 above prereqs: mongodb & nodejs
2018-07-23 14:45:29 +00:00
# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
# Sugarizer 1.0.1+ strategies to solve? github.com/iiab/iiab/pull/957
2019-01-03 18:08:57 +00:00
sugarizer_install : False
2017-05-27 18:09:50 +00:00
sugarizer_enabled : False
2018-05-21 23:28:21 +00:00
sugarizer_port : 8089
2017-05-27 18:09:50 +00:00
2018-08-30 21:15:43 +00:00
2017-05-27 18:09:50 +00:00
# 8-MGMT-TOOLS
2018-08-31 07:46:04 +00:00
# Transmission is a BitTorrent downloader for large Content Packs etc
2019-01-03 18:08:57 +00:00
transmission_install : False
transmission_enabled : False
2018-08-31 07:46:04 +00:00
# Transmission download directory & general owner/group
transmission_download_dir : "{{ content_base }}/transmission/" # /library/transmission/
transmission_user : debian-transmission
transmission_group : root
# Monitor downloads at http://box:9091 or http://box:9091/transmission using Admin/changeme
transmission_http_port : 9091
transmission_url : "/transmission/"
transmission_peer_port : 51413
# Provision Transmission with torrent(s) from http://pantry.learningequality.org/downloads/ka-lite/0.17/content/
transmission_provision : True
transmission_kalite_version : 0.17
# A. Uncomment language(s) in /etc/iiab/local_vars.yml to download KA Lite videos to /library/transmission
transmission_kalite_languages :
2018-10-14 00:44:59 +00:00
#- english
2018-08-31 07:46:04 +00:00
#- french
#- hindi
#- portugal-portuguese
#- brazilian-portuguese
#- spanish
#- swahili
# B. Monitor BitTorrent downloads at http://box:9091 using Admin/changeme
# until the download is confirmed complete (can take hours if not days!)
# C. Carefully move all videos/thumbnails into /library/ka-lite/content
# (DO NOT OVERWRITE SUBFOLDERS assessment, locale, srt !)
# D. Log in to KA Lite at http://box:8008/updates/videos/ using Admin/changeme
# then click "Scan content folder for videos" (can take many minutes!)
# E. READ "KA Lite Administration: What tips & tricks exist?" AT http://FAQ.IIAB.IO
# Transmission administrative account
transmission_username : Admin
transmission_password : changeme
2018-08-30 21:15:43 +00:00
awstats_install : True
2019-01-03 18:08:57 +00:00
awstats_enabled : True
2018-08-30 21:15:43 +00:00
monit_install : False
monit_enabled : False
watchdog :
- sshd
- idmgr
- ejabberd
- httpd
- postgresql
- squid
munin_install : True
2019-01-03 18:08:57 +00:00
munin_enabled : True
2018-08-30 21:15:43 +00:00
# Handy for maintaining tables, but DANGEROUS if not locked down
phpmyadmin_install : False
phpmyadmin_enabled : False
vnstat_install : True
2019-01-03 18:08:57 +00:00
vnstat_enabled : True
2018-08-30 21:15:43 +00:00
# 9-LOCAL-ADDONS
# Calibre E-Book Library
# WARNING: CALIBRE INSTALLS GRAPHICAL LIBRARIES SIMILAR TO X WINDOWS & OPENGL
# ON (HEADLESS, SERVER, LITE) OS'S THAT DON'T ALREADY HAVE THESE INSTALLED.
2018-10-13 17:49:54 +00:00
calibre_install : False
calibre_enabled : False
2018-08-30 21:15:43 +00:00
# vars/raspbian-9.yml tries the .deb upgrade of Calibre, overriding this default:
calibre_via_debs : False
calibre_unstable_debs : False
# vars/<most-OS's>.yml use Calibre's python installer/upgrader (x86_64), overriding this default:
calibre_via_python : False
2018-10-13 17:52:07 +00:00
# Change calibre_port to 8010 if you're using XO laptops needing above idmgr ?
2018-08-30 21:15:43 +00:00
calibre_port : 8080
# Change calibre to XYZ add your own mnemonic URL like: http://box/XYZ
calibre_web_path: calibre #NEEDS WORK : https://github.com/iiab/iiab/issues/529
2018-10-13 17:59:37 +00:00
# Avoid collisions with calibreweb_url: below!
2018-08-30 21:15:43 +00:00
2018-09-12 18:05:53 +00:00
# WARNING: Calibre-Web (below) depends on Calibre's own /usr/bin/ebook-convert
2018-09-12 18:13:52 +00:00
# program, so we recommend you also install Calibre (above!)
2018-09-12 18:05:53 +00:00
2018-09-12 18:08:00 +00:00
# Calibre-Web alternative to Calibre, offers a clean/modern UX
2019-01-03 18:08:57 +00:00
calibreweb_install : False
calibreweb_enabled : False
2019-01-11 00:00:20 +00:00
calibreweb_port : 8083 # PORT VARIABLE HAS NO EFFECT (as of January 2019)
2018-08-30 21:15:43 +00:00
# http://box/books works. Add {box/libros, box/livres, box/livros, box/liv} etc?
calibreweb_url : /books
calibreweb_home : "{{ content_base }}/calibre-web" # /library/calibre-web
2019-02-08 00:13:08 +00:00
# Minetest is an open source clone of the Minecraft building blocks game
2019-02-06 17:12:28 +00:00
minetest_install : False
minetest_enabled : False
minetest_port : 30000
2019-02-08 21:17:20 +00:00
minetest_server_admin : Admin
2019-02-10 19:12:25 +00:00
minetest_default_game : carbone-ng # only carbone-ng and minetest are supported
2019-02-10 17:54:29 +00:00
minetest_flat_world : False
2018-09-20 14:24:23 +00:00
2019-02-10 19:12:25 +00:00
2019-01-03 20:20:50 +00:00
# CONSIDER THESE 2 NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD, AS OF 2018:
2018-09-20 00:07:22 +00:00
# - http://download.iiab.io/content/OSM/vector-tiles/
# - http://oer2go.org/viewmod/en-worldmap-10
#
2018-09-20 14:22:38 +00:00
# DOWNLOAD EITHER OSM MANUALLY, OR BETTER YET TRY IIAB'S ADMIN CONSOLE:
# http://box/admin -> Install Content -> Get OER2GO(RACHEL) Modules
#
2019-01-03 20:20:50 +00:00
# Unmaintained:
2018-09-20 00:07:22 +00:00
# osm_install: False
# osm_enabled: False
# Changed in June 2017, from the original:
# iiab_install: True
# iiab_enabled: False
2019-01-03 20:20:50 +00:00
# Unmaintained (better to install from http://teamviewer.com or prep scripts at http://download.iiab.io)
2018-08-30 23:03:39 +00:00
# teamviewer_install: False
# teamviewer_enabled: False
2019-01-03 20:20:50 +00:00
# Unmaintained
2018-08-30 21:15:43 +00:00
# docker_install: False
# docker_enabled: False
2017-05-27 18:09:50 +00:00
2019-01-03 20:20:50 +00:00
# Unmaintained
2018-08-30 21:15:43 +00:00
# schooltool_install: False
# schooltool_enabled: False
2017-08-31 20:20:02 +00:00
2019-01-03 20:20:50 +00:00
# Unmaintained
2018-08-30 21:17:25 +00:00
# debian_schooltool_install: False
# debian_schooltool_enabled: False
2019-01-03 20:20:50 +00:00
# Unmaintained (consider Calibre or Calibre-Web above?)
2018-08-30 20:44:10 +00:00
# pathagar_install: False
# pathagar_enabled: False
2019-01-03 20:20:50 +00:00
# Unmaintained
2018-08-21 15:24:49 +00:00
# sugar_stats_install: False
# sugar_stats_enabled: False
2019-01-03 20:20:50 +00:00
# Unmaintained
2018-08-21 15:24:49 +00:00
# xovis_install: False
# 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"
2019-01-03 20:20:50 +00:00
# Unmaintained
2018-08-30 23:03:39 +00:00
# owncloud_install: False
# owncloud_enabled: False
2019-01-03 20:20:50 +00:00
# Unmaintained
2017-10-27 00:21:31 +00:00
# ajenti_install: False
# ajenti_enabled: False
2017-08-31 20:20:02 +00:00
2019-01-03 20:20:50 +00:00
# Unmaintained
2017-10-27 09:31:32 +00:00
# rachel_install: False
# rachel_enabled: False
# rachel_content_found: False
# #rachel_url: /rachel
# rachel_doc_root: "{{ doc_root }}/modules"
2017-06-04 21:22:12 +00:00
2017-10-11 13:56:55 +00:00
# ================================================================
2018-08-21 15:24:49 +00:00
# Platforms - turn all off and let /opt/iiab/iiab/vars/<OS>.yml turn on as appropriate
2017-10-11 13:56:55 +00:00
2019-01-14 13:57:47 +00:00
# Wide to narrow (insofar as poss)
2017-06-04 21:22:12 +00:00
is_debuntu : False
is_ubuntu : False
2018-04-07 03:43:44 +00:00
is_ubuntu_18 : False
2019-01-13 12:45:08 +00:00
is_ubuntu_17 : False
2018-07-20 02:18:34 +00:00
is_ubuntu_16 : False
2017-07-17 19:20:46 +00:00
is_debian : False
2018-07-20 02:18:34 +00:00
is_debian_10 : False
2017-07-17 21:53:32 +00:00
is_debian_9 : False
is_debian_8 : False
2019-01-13 12:45:08 +00:00
is_raspbian_9 : False
is_raspbian_8 : False
2017-07-17 19:20:46 +00:00
is_rpi : False
2017-06-04 21:22:12 +00:00
is_redhat : False
is_centos : False
2019-01-13 12:45:08 +00:00
is_centos_7 : False
is_fedora : False
is_fedora_22 : False
is_fedora_18 : False
2018-08-30 23:03:39 +00:00
# How This Works:
# 1. /opt/iiab/iiab/iiab-install copies scripts/local_facts.fact to /etc/ansible/facts.d/local_facts.fact
# 2. Ansible runs /etc/ansible/facts.d/local_facts.fact to identify the OS
# 3. ./iiab-install (iiab-stages.yml) or ./runrole (run-one-role.yml) or Admin Console (iiab-from-console.yml) invoke the correct /opt/iiab/iiab/vars/<OS>.yml
# Longer Explanation: https://github.com/iiab/iiab/wiki/IIAB-Variables (Order of Execution and Precedence)