2018-07-20 08:47:33 +00:00
|
|
|
# This is local_vars_medium.yml -- copy it to /etc/iiab/local_vars.yml then...
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2018-05-14 21:15:53 +00:00
|
|
|
# Put variables herein to override /opt/iiab/iiab/vars/default_vars.yml
|
|
|
|
|
|
|
|
# PLEASE READ http://wiki.iiab.io/local_vars.yml
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2017-12-30 10:54:25 +00:00
|
|
|
# Orig Idea: branch github.com/xsce/xsce-local for your deployment/community
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2018-05-14 21:15:53 +00:00
|
|
|
|
2017-12-08 07:16:10 +00:00
|
|
|
# Ansible's default timeout for "get_url:" downloads (10 seconds) often fails
|
2018-05-10 16:19:28 +00:00
|
|
|
download_timeout: 200
|
2017-12-08 07:16:10 +00:00
|
|
|
|
2017-11-01 17:14:40 +00:00
|
|
|
# Users and Passwords
|
|
|
|
|
2017-09-11 16:23:38 +00:00
|
|
|
iiab_admin_user: iiab-admin
|
2017-12-30 11:30:52 +00:00
|
|
|
# Obtain a password hash with:
|
|
|
|
# python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'
|
2017-09-11 16:23:38 +00:00
|
|
|
# iiab_admin_passw_hash:
|
2017-12-30 18:06:26 +00:00
|
|
|
admin_install: True
|
2017-12-30 10:54:25 +00:00
|
|
|
|
2017-12-30 18:06:26 +00:00
|
|
|
# Set admin_install: False if you don't want iiab_admin_user & wheel group
|
2017-12-30 10:54:25 +00:00
|
|
|
# auto-created in roles/iiab-admin/tasks/main.yml, thereby disabling sudo-based
|
2017-12-30 10:59:45 +00:00
|
|
|
# warnings on use of published passwords like pi/raspberry & iiab-admin/g0adm1n
|
2017-12-30 10:54:25 +00:00
|
|
|
|
2017-12-30 18:06:26 +00:00
|
|
|
# If admin_install: False, set iiab_admin_user (above) to an existing Linux
|
2017-12-30 17:59:29 +00:00
|
|
|
# user that has sudo access, so you can login to Admin Console http://box/admin
|
2017-09-11 16:23:38 +00:00
|
|
|
|
|
|
|
iiab_hostname: box
|
|
|
|
iiab_domain: lan
|
|
|
|
|
2018-03-22 21:42:13 +00:00
|
|
|
# Set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
|
2017-09-11 16:23:38 +00:00
|
|
|
iiab_home_url: /home
|
2018-05-10 16:19:28 +00:00
|
|
|
|
|
|
|
# Raspbian requires WiFi country since March 2018. Please set it here:
|
|
|
|
host_country_code: US
|
2017-09-11 16:23:38 +00:00
|
|
|
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:38:29 +00:00
|
|
|
# dnsmasq
|
|
|
|
dnsmasq_install: True
|
|
|
|
dnsmasq_enabled: False
|
|
|
|
|
2018-07-19 15:17:30 +00:00
|
|
|
# Enable AFTER installing IIAB! Then run "cd /opt/iiab/iiab; ./iiab-network"
|
2018-07-13 17:38:29 +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
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2018-05-18 01:46:45 +00:00
|
|
|
# Stages 3 & 4 must be run (using iiab-install or runrole) if changing these:
|
2017-09-11 16:23:38 +00:00
|
|
|
squid_install: False
|
|
|
|
squid_enabled: False
|
|
|
|
|
|
|
|
dansguardian_install: False
|
|
|
|
dansguardian_enabled: False
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
|
2017-10-18 01:24:59 +00:00
|
|
|
# wondershaper_install: False
|
|
|
|
# wondershaper_enabled: False
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2017-10-30 17:45:03 +00:00
|
|
|
# 1-PREP
|
|
|
|
|
|
|
|
# 2-COMMON
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# 3-BASE-SERVER
|
|
|
|
|
2018-07-13 17:38:29 +00:00
|
|
|
# Make this False to disable http://box/common/services/power_off.php button:
|
|
|
|
allow_apache_sudo: True
|
|
|
|
|
2017-10-30 17:50:04 +00:00
|
|
|
# roles/mysql runs here (mandatory)
|
2017-10-27 11:18:38 +00:00
|
|
|
|
2017-09-11 16:23:38 +00:00
|
|
|
# 4-SERVER-OPTIONS
|
|
|
|
|
|
|
|
# SECURITY WARNING: See http://wiki.laptop.org/go/IIAB/Security
|
|
|
|
openvpn_install: True
|
|
|
|
openvpn_enabled: False
|
2018-08-13 19:53:58 +00:00
|
|
|
|
2018-08-14 02:09:46 +00:00
|
|
|
# Set /etc/iiab/openvpn_handle in advance here:
|
2018-08-15 20:43:23 +00:00
|
|
|
openvpn_handle: ""
|
2018-08-14 02:09:46 +00:00
|
|
|
|
2017-09-11 16:23:38 +00:00
|
|
|
# The following seems necessary on CentOS:
|
|
|
|
# openvpn_cron_enabled: True
|
|
|
|
|
2017-10-30 17:45:03 +00:00
|
|
|
# roles/network runs here (MANY SETTINGS ABOVE)
|
|
|
|
|
2017-10-30 17:26:25 +00:00
|
|
|
# PostgreSQL - auto-installed by Moodle and/or Pathagar - no need to touch!
|
|
|
|
postgresql_install: False
|
|
|
|
postgresql_enabled: False
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# Unmaintained
|
|
|
|
# authserver_install: False
|
|
|
|
# authserver_enabled: False
|
|
|
|
|
2017-10-18 01:24:59 +00:00
|
|
|
# Common UNIX Printing System
|
2017-09-11 16:23:38 +00:00
|
|
|
cups_install: True
|
|
|
|
cups_enabled: False
|
|
|
|
|
|
|
|
# At Your Own Risk: take a security audit seriously before deploying this
|
|
|
|
samba_install: False
|
|
|
|
samba_enabled: False
|
|
|
|
|
2018-04-05 18:49:10 +00:00
|
|
|
# Show entire contents of USB sticks/drives (at http://box/usb)
|
|
|
|
iiab_usb_lib_show_all: True
|
|
|
|
|
2017-09-11 16:23:38 +00:00
|
|
|
# 5-XO-SERVICES
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# Lesser-supported XO services need additional testing. Please contact
|
2017-09-11 16:23:38 +00:00
|
|
|
# http://lists.laptop.org/pipermail/server-devel/ if you're able to help test.
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# xo_services_install: False
|
|
|
|
# xo_services_enabled: False
|
2017-09-11 16:23:38 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# ejabberd_xs_install: False
|
|
|
|
# ejabberd_xs_enabled: False
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# 6-GENERIC-APPS
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2017-11-23 16:46:12 +00:00
|
|
|
# WARNING: CALIBRE REQUIRES X WINDOWS / OPENGL LIBRARIES. Consider installing
|
|
|
|
# an OS that includes a GUI (desktop) environment if you need Calibre E-Books.
|
2017-11-23 16:43:53 +00:00
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
calibre_install: True
|
|
|
|
calibre_enabled: True
|
2018-05-11 06:55:33 +00:00
|
|
|
# Try .deb upgrade of Calibre (like vars/raspbian-9.yml already does)
|
|
|
|
# calibre_via_debs: True
|
2018-05-10 20:47:45 +00:00
|
|
|
calibre_unstable_debs: False
|
2018-05-11 06:55:33 +00:00
|
|
|
# Try python x86_64 upgrade of Calibre (like vars/<most-OS's>.yml already do)
|
|
|
|
# calibre_via_python: True
|
2017-10-27 11:18:38 +00:00
|
|
|
# Change calibre_port to 8010 if you're using XO laptops needing above idmgr
|
|
|
|
calibre_port: 8080
|
2018-05-14 21:15:53 +00:00
|
|
|
# Change calibre to XYZ to add your own mnemonic URL like: http://box/XYZ
|
2017-12-12 14:58:24 +00:00
|
|
|
calibre_web_path: calibre #NEEDS WORK: https://github.com/iiab/iiab/issues/529
|
2017-11-14 18:48:47 +00:00
|
|
|
# In addition to: http://box/books box/libros box/livres box/livros box/liv
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
dokuwiki_install: False
|
|
|
|
dokuwiki_enabled: False
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2018-03-22 14:53:14 +00:00
|
|
|
mediawiki_install: False
|
|
|
|
mediawiki_enabled: False
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
elgg_install: True
|
|
|
|
elgg_enabled: True
|
|
|
|
|
|
|
|
ejabberd_install: False
|
|
|
|
ejabberd_enabled: False
|
2017-09-11 16:23:38 +00:00
|
|
|
|
|
|
|
nextcloud_install: True
|
|
|
|
nextcloud_enabled: True
|
|
|
|
|
|
|
|
wordpress_install: True
|
|
|
|
wordpress_enabled: True
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# 7-EDU-APPS
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
kalite_install: True
|
|
|
|
kalite_enabled: True
|
2018-07-12 05:38:23 +00:00
|
|
|
# Unused in 2018; but remains as placeholder for Fedora 18 legacy (XO laptops)
|
2017-10-27 11:18:38 +00:00
|
|
|
kalite_cron_enabled: True
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2018-07-16 16:11:13 +00:00
|
|
|
kolibri_install: False
|
|
|
|
kolibri_enabled: False
|
|
|
|
|
2017-10-27 11:18:38 +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
|
2017-09-11 16:23:38 +00:00
|
|
|
|
|
|
|
# OpenStreetMap: renamed from {iiab_install, iiab_enabled} in June 2017
|
|
|
|
osm_install: True
|
|
|
|
osm_enabled: True
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# Similar to Calibre, but unmaintained
|
|
|
|
pathagar_install: False
|
|
|
|
pathagar_enabled: False
|
2017-09-11 16:23:38 +00:00
|
|
|
|
|
|
|
# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
|
2018-07-23 14:42:19 +00:00
|
|
|
# Sugarizer 1.0.1+ strategies to solve? github.com/iiab/iiab/pull/957
|
2017-09-11 16:23:38 +00:00
|
|
|
sugarizer_install: True
|
|
|
|
sugarizer_enabled: True
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# 8-MGMT-TOOLS
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
awstats_install: True
|
|
|
|
awstats_enabled: True
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
monit_install: False
|
|
|
|
monit_enabled: False
|
2017-09-11 16:23:38 +00:00
|
|
|
|
|
|
|
munin_install: True
|
|
|
|
munin_enabled: True
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# Handy for maintaining tables, but DANGEROUS if not locked down
|
|
|
|
phpmyadmin_install: False
|
|
|
|
phpmyadmin_enabled: False
|
|
|
|
|
|
|
|
# Unmaintained (better to install from http://teamviewer.com)
|
|
|
|
teamviewer_install: False
|
|
|
|
teamviewer_enabled: False
|
|
|
|
|
2017-09-11 16:23:38 +00:00
|
|
|
vnstat_install: True
|
|
|
|
vnstat_enabled: True
|
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# Unmaintained
|
|
|
|
# sugar_stats_install: False
|
|
|
|
# sugar_stats_enabled: False
|
2017-09-11 16:23:38 +00:00
|
|
|
|
2017-10-27 11:18:38 +00:00
|
|
|
# Unmaintained
|
|
|
|
# xovis_install: False
|
|
|
|
# xovis_enabled: False
|
2017-09-11 16:23:38 +00:00
|
|
|
|
|
|
|
# Unmaintained
|
|
|
|
# schooltool_install: False
|
|
|
|
# schooltool_enabled: False
|
|
|
|
|
|
|
|
# Unmaintained
|
|
|
|
# debian_schooltool_install: False
|
|
|
|
# debian_schooltool_enabled: False
|