2018-07-20 08:46:51 +00:00
|
|
|
# This is local_vars_min.yml -- copy it to /etc/iiab/local_vars.yml then...
|
2018-05-14 21:17:11 +00:00
|
|
|
|
|
|
|
# Put variables herein to override /opt/iiab/iiab/vars/default_vars.yml
|
|
|
|
|
|
|
|
# PLEASE READ http://wiki.iiab.io/local_vars.yml
|
|
|
|
|
|
|
|
# Orig Idea: branch github.com/xsce/xsce-local for your deployment/community
|
|
|
|
|
|
|
|
|
|
|
|
# Ansible's default timeout for "get_url:" downloads (10 seconds) often fails
|
|
|
|
download_timeout: 200
|
|
|
|
|
|
|
|
# Users and Passwords
|
|
|
|
|
|
|
|
iiab_admin_user: iiab-admin
|
|
|
|
# Obtain a password hash with:
|
|
|
|
# python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'
|
|
|
|
# iiab_admin_passw_hash:
|
|
|
|
admin_install: True
|
|
|
|
|
|
|
|
# Set admin_install: False if you don't want iiab_admin_user & wheel group
|
|
|
|
# auto-created in roles/iiab-admin/tasks/main.yml, thereby disabling sudo-based
|
|
|
|
# warnings on use of published passwords like pi/raspberry & iiab-admin/g0adm1n
|
|
|
|
|
|
|
|
# If admin_install: False, set iiab_admin_user (above) to an existing Linux
|
|
|
|
# user that has sudo access, so you can login to Admin Console http://box/admin
|
|
|
|
|
|
|
|
iiab_hostname: box
|
|
|
|
iiab_domain: lan
|
|
|
|
|
|
|
|
# Set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
|
|
|
|
iiab_home_url: /home
|
|
|
|
|
2018-07-13 17:33:42 +00:00
|
|
|
# Raspbian requires Wi-Fi country since March 2018. Please set it here:
|
2018-05-14 21:17:11 +00:00
|
|
|
host_country_code: US
|
|
|
|
host_ssid: "Internet in a Box"
|
|
|
|
host_wifi_mode: g
|
|
|
|
host_channel: 6
|
|
|
|
hostapd_secure: False
|
|
|
|
hostapd_password: changeme
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# Make this True if client machines should have access to WAN/Internet:
|
|
|
|
iiab_gateway_enabled: False
|
|
|
|
|
2018-07-13 17:33:42 +00:00
|
|
|
# dnsmasq
|
|
|
|
dnsmasq_install: True
|
|
|
|
dnsmasq_enabled: False
|
|
|
|
|
2018-07-19 15:20:40 +00:00
|
|
|
# Enable AFTER installing IIAB! Then run "cd /opt/iiab/iiab; ./iiab-network"
|
2018-07-13 17:33:42 +00:00
|
|
|
dns_jail_enabled: False
|
|
|
|
|
|
|
|
# Simple python Captive Portal, that @m-anish & @jvonau are experimenting with in July 2018: github.com/iiab/iiab/pull/870
|
|
|
|
py_captive_portal_install: True
|
|
|
|
py_captive_portal_enabled: False
|
2018-05-14 21:17:11 +00:00
|
|
|
|
2018-05-18 01:45:40 +00:00
|
|
|
# Stages 3 & 4 must be run (using iiab-install or runrole) if changing these:
|
2018-05-14 21:17:11 +00:00
|
|
|
squid_install: False
|
|
|
|
squid_enabled: False
|
|
|
|
|
|
|
|
dansguardian_install: False
|
|
|
|
dansguardian_enabled: False
|
|
|
|
|
|
|
|
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
|
|
|
|
# wondershaper_install: False
|
|
|
|
# wondershaper_enabled: False
|
|
|
|
|
|
|
|
# 1-PREP
|
|
|
|
|
|
|
|
# 2-COMMON
|
|
|
|
|
|
|
|
# 3-BASE-SERVER
|
|
|
|
|
2018-07-13 17:33:42 +00:00
|
|
|
# Make this False to disable http://box/common/services/power_off.php button:
|
|
|
|
allow_apache_sudo: True
|
|
|
|
|
2018-05-14 21:17:11 +00:00
|
|
|
# roles/mysql runs here (mandatory)
|
|
|
|
|
|
|
|
# 4-SERVER-OPTIONS
|
|
|
|
|
|
|
|
# SECURITY WARNING: See http://wiki.laptop.org/go/IIAB/Security
|
|
|
|
openvpn_install: True
|
|
|
|
openvpn_enabled: False
|
2018-08-13 19:54:04 +00:00
|
|
|
|
2018-08-14 02:09:03 +00:00
|
|
|
# Set /etc/iiab/openvpn_handle in advance here:
|
2018-08-15 20:42:43 +00:00
|
|
|
openvpn_handle: ""
|
2018-08-14 02:09:03 +00:00
|
|
|
|
2018-05-14 21:17:11 +00:00
|
|
|
# The following seems necessary on CentOS:
|
|
|
|
# openvpn_cron_enabled: True
|
|
|
|
|
|
|
|
# roles/network runs here (MANY SETTINGS ABOVE)
|
|
|
|
|
|
|
|
# PostgreSQL - auto-installed by Moodle and/or Pathagar - no need to touch!
|
|
|
|
postgresql_install: False
|
|
|
|
postgresql_enabled: False
|
|
|
|
|
|
|
|
# Unmaintained
|
|
|
|
# authserver_install: False
|
|
|
|
# authserver_enabled: False
|
|
|
|
|
|
|
|
# Common UNIX Printing System
|
|
|
|
cups_install: False
|
|
|
|
cups_enabled: False
|
|
|
|
|
|
|
|
# At Your Own Risk: take a security audit seriously before deploying this
|
|
|
|
samba_install: False
|
|
|
|
samba_enabled: False
|
|
|
|
|
|
|
|
# Show entire contents of USB sticks/drives (at http://box/usb)
|
|
|
|
iiab_usb_lib_show_all: True
|
|
|
|
|
|
|
|
# 5-XO-SERVICES
|
|
|
|
|
|
|
|
# Lesser-supported XO services need additional testing. Please contact
|
|
|
|
# http://lists.laptop.org/pipermail/server-devel/ if you're able to help test.
|
|
|
|
|
|
|
|
# xo_services_install: False
|
|
|
|
# xo_services_enabled: False
|
|
|
|
|
|
|
|
# activity_server_install: False
|
|
|
|
# activity_server_enabled: False
|
|
|
|
|
|
|
|
# Change calibre_port from 8080 to 8010 below, if you enable idmgr
|
|
|
|
# idmgr_install: False
|
|
|
|
# idmgr_enabled: False
|
|
|
|
|
|
|
|
# ejabberd_xs_install: False
|
|
|
|
# ejabberd_xs_enabled: False
|
|
|
|
|
|
|
|
|
2018-08-30 20:50:55 +00:00
|
|
|
# 6-GENERIC-APPS
|
2018-08-27 20:13:45 +00:00
|
|
|
|
2018-05-14 21:17:11 +00:00
|
|
|
dokuwiki_install: False
|
|
|
|
dokuwiki_enabled: False
|
|
|
|
|
|
|
|
mediawiki_install: False
|
|
|
|
mediawiki_enabled: False
|
|
|
|
|
|
|
|
elgg_install: False
|
|
|
|
elgg_enabled: False
|
|
|
|
|
|
|
|
ejabberd_install: False
|
|
|
|
ejabberd_enabled: False
|
|
|
|
|
|
|
|
nextcloud_install: False
|
|
|
|
nextcloud_enabled: False
|
|
|
|
|
|
|
|
wordpress_install: False
|
|
|
|
wordpress_enabled: False
|
|
|
|
|
2018-08-30 20:50:55 +00:00
|
|
|
|
2018-05-14 21:17:11 +00:00
|
|
|
# 7-EDU-APPS
|
|
|
|
|
2018-08-29 01:53:17 +00:00
|
|
|
# KA Lite - SEE THE "Transmission" BITTORRENT DOWNLOADER FURTHER BELOW, TO INSTALL THOUSANDS OF VIDEOS
|
2018-05-14 21:17:11 +00:00
|
|
|
kalite_install: True
|
|
|
|
kalite_enabled: True
|
2018-07-12 05:39:35 +00:00
|
|
|
# Unused in 2018; but remains as placeholder for Fedora 18 legacy (XO laptops)
|
2018-05-14 21:17:11 +00:00
|
|
|
kalite_cron_enabled: True
|
|
|
|
|
2018-07-16 16:10:33 +00:00
|
|
|
kolibri_install: False
|
|
|
|
kolibri_enabled: False
|
|
|
|
|
2018-05-14 21:17:11 +00:00
|
|
|
kiwix_install: True
|
|
|
|
kiwix_enabled: True
|
|
|
|
|
|
|
|
# Warning: Moodle is a serious LMS, that takes a while to install
|
|
|
|
moodle_install: False
|
|
|
|
moodle_enabled: False
|
|
|
|
|
|
|
|
# OpenStreetMap: renamed from {iiab_install, iiab_enabled} in June 2017
|
|
|
|
osm_install: False
|
|
|
|
osm_enabled: False
|
|
|
|
|
|
|
|
# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
|
2018-07-23 14:41:03 +00:00
|
|
|
# Sugarizer 1.0.1+ strategies to solve? github.com/iiab/iiab/pull/957
|
2018-05-14 21:17:11 +00:00
|
|
|
sugarizer_install: False
|
|
|
|
sugarizer_enabled: False
|
|
|
|
|
2018-08-30 20:50:55 +00:00
|
|
|
|
2018-05-14 21:17:11 +00:00
|
|
|
# 8-MGMT-TOOLS
|
|
|
|
|
|
|
|
awstats_install: True
|
|
|
|
awstats_enabled: True
|
|
|
|
|
|
|
|
monit_install: False
|
|
|
|
monit_enabled: False
|
|
|
|
|
|
|
|
munin_install: True
|
|
|
|
munin_enabled: True
|
|
|
|
|
|
|
|
# Handy for maintaining tables, but DANGEROUS if not locked down
|
|
|
|
phpmyadmin_install: False
|
|
|
|
phpmyadmin_enabled: False
|
|
|
|
|
|
|
|
vnstat_install: True
|
|
|
|
vnstat_enabled: True
|
|
|
|
|
2018-08-30 20:50:55 +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.
|
|
|
|
calibre_install: False
|
|
|
|
calibre_enabled: False
|
|
|
|
# Try .deb upgrade of Calibre (like vars/raspbian-9.yml already does)
|
|
|
|
# calibre_via_debs: True
|
|
|
|
calibre_unstable_debs: False
|
|
|
|
# Try python x86_64 upgrade of Calibre (like vars/<most-OS's>.yml already do)
|
|
|
|
# calibre_via_python: True
|
|
|
|
# Change calibre_port to 8010 if you're using XO laptops needing above idmgr
|
|
|
|
calibre_port: 8080
|
|
|
|
# Change calibre to XYZ to add your own mnemonic URL like: http://box/XYZ
|
|
|
|
calibre_web_path: calibre #NEEDS WORK: https://github.com/iiab/iiab/issues/529
|
|
|
|
# In addition to: http://box/books box/libros box/livres box/livros box/liv
|
|
|
|
|
|
|
|
# Calibre-Web alternative to Calibre, offers a clean/modern UX
|
|
|
|
calibreweb_install: False
|
|
|
|
calibreweb_enabled: False
|
|
|
|
calibreweb_port: 8083
|
|
|
|
# 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
|
|
|
|
|
2018-08-30 20:55:34 +00:00
|
|
|
# BitTorrent downloader for large Content Packs etc
|
|
|
|
transmission_install: False
|
|
|
|
transmission_enabled: False
|
|
|
|
# A. Uncomment language(s) to download KA Lite videos to /library/transmission
|
|
|
|
# using http://pantry.learningequality.org/downloads/ka-lite/0.17/content/
|
|
|
|
transmission_kalite_languages:
|
|
|
|
- english
|
|
|
|
#- 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 or 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
|
|
|
|
|
2018-08-30 20:50:55 +00:00
|
|
|
|
|
|
|
# Unmaintained (consider Calibre or Calibre-Web above?)
|
|
|
|
# pathagar_install: False
|
|
|
|
# pathagar_enabled: False
|
|
|
|
|
2018-08-21 15:20:56 +00:00
|
|
|
# Unmaintained (better to install from http://teamviewer.com or prep scripts at http://download.iiab.io)
|
2018-08-21 15:16:17 +00:00
|
|
|
# teamviewer_install: False
|
|
|
|
# teamviewer_enabled: False
|
|
|
|
|
2018-05-14 21:17:11 +00:00
|
|
|
# Unmaintained
|
|
|
|
# sugar_stats_install: False
|
|
|
|
# sugar_stats_enabled: False
|
|
|
|
|
|
|
|
# Unmaintained
|
|
|
|
# xovis_install: False
|
|
|
|
# xovis_enabled: False
|
|
|
|
|
|
|
|
# Unmaintained
|
|
|
|
# schooltool_install: False
|
|
|
|
# schooltool_enabled: False
|
|
|
|
|
|
|
|
# Unmaintained
|
|
|
|
# debian_schooltool_install: False
|
|
|
|
# debian_schooltool_enabled: False
|