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-05-24 18:17:17 +00:00
# Internet-in-a-Box (IIAB) uses True/False to indicate boolean values.
2017-05-27 18:09:50 +00:00
2020-01-16 16:05:05 +00:00
# IIAB does NOT currently support uninstalling apps! So: if any IIAB app is
# installed with 'APP_XYZ_install: True' below, do NOT later change that.
2020-09-08 02:11:34 +00:00
# WARNING: IF YOU CONNECT YOUR IIAB'S INTERNAL WIFI TO THE INTERNET OVER 5 GHz,
# YOU'LL PREVENT OLDER LAPTOPS/PHONES/TABLETS (WHICH REQUIRE 2.4 GHz) FROM
# CONNECTING TO YOUR IIAB'S INTERNAL HOTSPOT. See "wifi_up_down: True" below.
2020-01-16 16:05:05 +00:00
2019-05-24 18:17:17 +00:00
# IIAB (PRE-)release version number, for {{ iiab_env_file }}
2025-01-01 03:20:48 +00:00
iiab_base_ver : 8.3
2019-05-24 18:04:14 +00:00
iiab_revision : 0
2022-06-23 05:12:19 +00:00
# 2022-06-23: ./iiab-install (with 'sudo iiab') follow the traditional linear
# install path, intentionally overriding this value, until "SOFTWARE INSTALL IS
# COMPLETE". But you can run './iiab-install --risky' if you truly need
# iiab-install to run with 'skip_role_on_error: True' (PRs #3255, #3256, #3262)
2022-06-21 15:01:01 +00:00
skip_role_on_error : True
2022-06-17 14:53:44 +00:00
2019-11-19 13:50:09 +00:00
iiab_etc_path : /etc/iiab
2019-11-19 13:18:48 +00:00
2019-05-24 18:04:14 +00:00
# Main configuration file
2019-11-19 15:57:53 +00:00
iiab_local_vars_file : "{{ iiab_etc_path }}/local_vars.yml"
2019-05-24 18:04:14 +00:00
# Installation status files
2019-11-19 15:57:53 +00:00
iiab_env_file : "{{ iiab_etc_path }}/iiab.env"
iiab_ini_file : "{{ iiab_etc_path }}/iiab.ini"
2019-11-28 11:49:19 +00:00
iiab_state_file : "{{ iiab_etc_path }}/iiab_state.yml"
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"
2022-07-05 16:05:17 +00:00
iiab_download_url : https://download.iiab.io/packages
2017-05-27 18:09:50 +00:00
2020-10-16 23:55:37 +00:00
content_base : /library
2018-10-15 07:17:49 +00:00
doc_base : "{{ content_base }}/www"
doc_root : "{{ doc_base }}/html"
2017-05-27 18:09:50 +00:00
2019-11-19 13:34:38 +00:00
# Python 3 dist path
2019-11-19 13:56:47 +00:00
py3_dist_path : /usr/lib/python3/dist-packages
2019-11-19 13:34:38 +00:00
2018-10-15 07:17:49 +00:00
# Ansible's default timeout for "get_url:" downloads (10 seconds) often fails
2021-12-26 15:46:12 +00:00
download_timeout : 100
2017-05-27 18:09:50 +00:00
2021-07-30 20:56:56 +00:00
# Real-time clock: RTC chip family. Future auto-detection plausible?
2021-07-30 20:30:10 +00:00
rtc_id : none # Or ds3231 ? Used in 1-prep/tasks/raspberry_pi.yml
2020-03-26 16:55:19 +00:00
2020-10-15 01:10:20 +00:00
# Please read more about the 'iiab-admin' Linux user, for login to IIAB's
# Admin Console (http://box.lan/admin) AND to help you at the command-line:
2020-10-13 22:00:39 +00:00
# https://github.com/iiab/iiab/tree/master/roles/iiab-admin
# https://github.com/iiab/iiab-admin-console/blob/master/Authentication.md
2020-10-15 01:10:20 +00:00
#
iiab_admin_user : iiab-admin # Some prefer to reuse 'pi' or 'ubuntu' etc.
2020-10-13 22:00:39 +00:00
# Set iiab_admin_user_install: False if you don't want iiab_admin_user auto-
2020-10-15 03:38:32 +00:00
# configured e.g. by IIAB's 1-line installer & iiab-admin/tasks/admin-user.yml
2020-10-16 18:00:30 +00:00
iiab_admin_user_install : True # If False, THE SETTING BELOW WILL BE IGNORED.
2020-10-15 01:10:20 +00:00
iiab_admin_can_sudo : True # For /usr/bin/iiab-* support commands. Optional.
iiab_admin_published_pwd : g0adm1n # Default password. For pwd warnings too.
2020-10-16 18:00:30 +00:00
admin_console_group : iiab-admin # This group & sudo log in to Admin Console.
2020-10-15 01:10:20 +00:00
# DEPRECATED - Password hash to override above, if Ansible creates above user:
2020-10-16 18:04:03 +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
2020-10-08 00:50:01 +00:00
# Set these to False if you do not want to install/enable IIAB Admin Console
2020-10-03 20:24:03 +00:00
admin_console_install : True
admin_console_enabled : True
#
2021-08-14 23:33:30 +00:00
# Homepage: set to /home or /wordpress or /wiki (for MediaWiki)
iiab_home_url : /home
# You might also want to set captiveportal_splash_page (below!)
#
2020-10-08 01:12:21 +00:00
# Set to "False" if you do not want to use the latest js-menus, either because
# you use WordPress or another home page, or if you prefer the older
# https://github.com/iiab/iiab-menu (no longer maintained)
2020-10-03 20:24:03 +00:00
js_menu_install : True
# IIAB Networking README: https://github.com/iiab/iiab/tree/master/roles/network
# IIAB Networking Doc: https://github.com/iiab/iiab/wiki/IIAB-Networking
# Read it offline too: http://box/info > "IIAB Networking"
2022-04-07 11:14:58 +00:00
network_install : True
network_enabled : True
2017-10-27 09:31:32 +00:00
2018-10-15 07:17:49 +00:00
# NETWORK PARAMETERS FOLLOW ACROSS THE NEXT 100 LINES, as enabled by Ansible's
2020-10-03 21:43:51 +00:00
# NETWORK role (/opt/iiab/iiab/roles/network). SEE ALSO:
# https://github.com/iiab/iiab/blob/master/roles/network/defaults/main.yml
2017-05-27 18:09:50 +00:00
2017-06-09 23:25:56 +00:00
iiab_hostname : box
iiab_domain : lan
2022-06-23 03:55:56 +00:00
lan_ip : 10.10 .10 .10
2022-07-09 02:00:03 +00:00
network_172 : False # Change to True if you set the above to 172.18.96.1
lan_netmask : 255.255 .255 .0 # Change to 255.255.224.0 if using 172.18.96.1
2017-05-27 18:09:50 +00:00
2017-10-11 13:33:27 +00:00
# Internal Wi-Fi Access Point
2020-08-08 17:59:01 +00:00
# Values are used if there is an internal Wi-Fi adapter and hostapd is enabled.
#
2020-09-08 12:25:39 +00:00
# WARNING: IF YOU CONNECT YOUR IIAB'S INTERNAL WIFI TO THE INTERNET OVER 5 GHz,
# YOU'LL PREVENT OLDER LAPTOPS/PHONES/TABLETS (WHICH REQUIRE 2.4 GHz) FROM
# CONNECTING TO YOUR IIAB'S INTERNAL HOTSPOT. See "wifi_up_down: True" below.
#
2022-05-19 17:02:15 +00:00
# Raspberry Pi OS requires WiFi country since March 2018.
#
# If you're running Raspberry Pi OS, you may have already set the country code
# in /etc/wpa_supplicant/wpa_supplicant.conf e.g. if you ran raspi-config or used
# the Wi-Fi widget in the top-right of its graphical desktop.
#
# If so, this detected value will be considered authoritative, and will be used
# to populate /etc/hostapd/hostapd.conf
#
# Finally, if IIAB does not detect a country code from your OS, the following
# fallback variable will be used instead: (to populate /etc/hostapd/hostapd.conf)
2018-05-10 16:26:00 +00:00
host_country_code : US
2020-10-16 23:55:37 +00:00
host_ssid : Internet in a Box
2017-05-27 18:09:50 +00:00
host_wifi_mode : g
host_channel : 6
2022-01-07 06:59:21 +00:00
hostapd_secure : False # 2021-03-02 WiFi EAPOL fails if hotspot passwords,
hostapd_password : changeme # espec if WiFi firmware patched below? #2696
2020-05-09 19:03:25 +00:00
hostapd_install: True # 2020-01-21 : this var MIGHT be implemented in future.
2018-01-01 15:48:43 +00:00
hostapd_enabled : True
2022-01-07 06:59:21 +00:00
# Raspberry Pi 3 B+ and 4 OS's don't allow more than ~4 students to use the
# internal WiFi hotspot. Increase this to 19 or 24 student WiFi devices (or
2023-02-25 08:42:23 +00:00
# 32 on older OS's from 2020) using EXACTLY 1 of the 5 lines below:
2022-01-07 06:59:21 +00:00
#
#rpi3bplus_rpi4_wifi_firmware: os # Use your OS's WiFi firmware e.g. 7.45.241
2023-02-25 08:42:23 +00:00
#rpi3bplus_rpi4_wifi_firmware: ub # Ubuntu-only OLD firmware e.g. 7.45.234
2022-01-07 06:59:21 +00:00
rpi3bplus_rpi4_wifi_firmware: 19 # SEE : github.com/iiab/iiab/issues/2853
#rpi3bplus_rpi4_wifi_firmware: 24 # REQUIRES "wifi_up_down: False" BELOW!
#rpi3bplus_rpi4_wifi_firmware: 32 # UNRELIABLE (INTERMITTENT) with 2021+ OS's
#
# BACKGROUND: https://github.com/iiab/iiab/issues/823#issuecomment-662285202
#
# Raspberry Pi Zero W and 3 OS's don't allow more than ~10 students to use the
2022-01-08 01:51:45 +00:00
# internal WiFi hotspot. Or try increasing this to 30 student WiFi devices:
2022-01-07 06:59:21 +00:00
#
2023-02-25 08:42:23 +00:00
rpizerow_rpi3_wifi_firmware : os # Use yr OS WiFi firmware e.g. 7.45.98
#rpizerow_rpi3_wifi_firmware: ub # Ubuntu-only OLD firmware e.g. 7.45.98.118
2022-01-08 01:51:45 +00:00
#rpizerow_rpi3_wifi_firmware: 30 # Or firmware 7.45.98.65 from 2018-09-28
2022-01-07 06:59:21 +00:00
wifi_up_down: True # AP+STA mode : Uses "ap0" WiFi adapter for upstream WiFi
2020-05-09 19:03:25 +00:00
# (e.g. to Internet) in addition to downstream WiFi (e.g. classroom hotspot).
2021-08-14 19:21:48 +00:00
# Set True if client machines should have "passthrough" access to WAN/Internet:
iiab_gateway_enabled : False
2021-08-23 15:25:07 +00:00
# CAUTION: Setting 'squid_enabled: True' (BELOW) acts as a gateway for Port 80.
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
2021-08-14 19:21:48 +00:00
# Intended for developers: ONLY CHANGE THESE IF YOU KNOW WHAT YOU ARE DOING
# The following 2 override the detection when not "auto"
user_wan_iface : auto
user_lan_iface : auto
# See "How do I set a static IP address?" for Ethernet, in http://FAQ.IIAB.IO
wan_ip: dhcp # wan_ip : 192.168 .1 .99
wan_netmask: # wan_netmask : 255.255 .255 .0
wan_gateway: # wan_gateway : 192.168 .1 .254
# If nec wan_nameserver can override ISP-provided DNS servers via dnsmasq:
# /etc/resolv.conf dictates which backend is used for the machine itself, so
2023-04-03 03:37:45 +00:00
# 127.0.0.1 means you get dnsmasq (so it works right away on RasPiOS) while
2021-08-14 19:21:48 +00:00
# 127.0.0.53 gives you systemd-networkd (so Ubuntu itself does NOT use this
# dnsmasq-specified upstream DNS [e.g. wan_nameserver] but its LAN clients do!)
wan_nameserver: # wan_nameserver : 192.168 .1 .254 or 8.8.8.8 or 1.1.1.1
wan_try_dhcp_before_static_ip : True # Facilitate field updates w/ cablemodems
# Details @ roles/network/templates/network/dhcpcd.conf.j2 for /etc/dhcpcd.conf
2021-08-18 06:33:32 +00:00
gui_port: 80 # 2021-08-17 : For iptables. And #2811 dreams of HTTPS/443 ?
# adm_cons_force_ssl: False # Likewise: iiab-admin.yml & js-menu.yml set it.
2019-05-19 10:13:38 +00:00
# Enable "campus access" to ~10 common IIAB services like Kiwix (3000), KA Lite
# (8008) and Calibre (8010 or 8080) etc, on the WAN side of your IIAB server.
# Only 1 of the 6 lines below should be uncommented:
#
#ports_externally_visible: 0 # none
#ports_externally_visible: 1 # ssh only
2019-05-23 21:50:40 +00:00
#ports_externally_visible: 2 # ssh + http-or-https (for Admin Console's box.lan/admin too)
ports_externally_visible : 3 # ssh + http-or-https + common IIAB services
#ports_externally_visible: 4 # ssh + http-or-https + common IIAB services + Samba
2019-05-19 10:13:38 +00:00
#ports_externally_visible: 5 # all but databases
#
# Or further customize your iptables firewall by editing:
# /opt/iiab/iiab/roles/network/templates/gateway/iiab-gen-iptables
2023-09-01 00:08:36 +00:00
# And then run: sudo iiab-network
2019-01-03 20:07:00 +00:00
2021-08-14 19:21:48 +00:00
# dnsmasq - handles DHCP and DNS
dnsmasq_install : True
dnsmasq_enabled : True
2017-10-27 11:15:49 +00:00
2021-07-27 01:30:42 +00:00
# UNMAINTAINED as of July 2021
2022-07-08 05:51:33 +00:00
#dhcpd_install: False
#dhcpd_enabled: False
2017-05-27 18:09:50 +00:00
2021-07-27 01:30:42 +00:00
# UNMAINTAINED as of July 2021
2019-01-03 19:11:41 +00:00
# named (BIND)
2022-07-08 05:51:33 +00:00
#named_install: False
#named_enabled: False
2017-05-27 18:09:50 +00:00
block_DNS : False
2023-09-01 00:08:36 +00:00
# Enable in local_vars.yml AFTER installing IIAB! Then run: sudo iiab-network
2018-07-13 17:33:02 +00:00
dns_jail_enabled : False
2020-01-21 16:54:33 +00:00
# UNMAINTAINED as of October 2017: https://github.com/iiab/iiab/pull/382
2021-08-14 20:18:12 +00:00
# wondershaper_install: False
# wondershaper_enabled: False
2017-05-27 18:09:50 +00:00
2017-10-27 09:31:32 +00:00
2018-08-30 21:15:43 +00:00
# 1-PREP
2017-10-27 09:45:34 +00:00
2024-09-15 06:05:42 +00:00
# OPENSSH-SERVER
sshd_install : True
2020-09-25 00:14:00 +00:00
sshd_enabled : True
sshd_port: 22 # Not fully functional. SEE : roles/sshd/tasks/install.yml
2021-10-27 22:12:52 +00:00
# https://remote.it can help you remotely maintain an IIAB.
2022-04-01 19:23:29 +00:00
# INSTRUCTIONS: https://github.com/iiab/iiab/tree/master/roles/remoteit
2021-10-27 22:12:52 +00:00
remoteit_install : True
remoteit_enabled : False
2022-04-07 14:17:35 +00:00
# OPTION #1: Run 'sudo iiab-remoteit' later. OPTION #2: Set this now:
# remoteit_license_key: 592AA9BB-XXXX-YYYY-ZZZZ-6E27654C3DF6
2021-10-27 22:12:52 +00:00
2022-04-01 19:23:29 +00:00
# SECURITY WARNING: https://wiki.iiab.io/go/Security
2024-09-15 06:05:42 +00:00
# New VPN replaced OpenVPN in Sept 2024:
tailscale_install : True
tailscale_enabled : False # Stub var, doesn't yet do anything!
2018-10-15 13:23:18 +00:00
2021-08-04 17:12:39 +00:00
# IIAB-ADMIN runs here - see its vars near top of this file:
2021-08-14 17:02:55 +00:00
# e.g. iiab_admin_user, iiab_admin_user_install, iiab_admin_can_sudo,
# iiab_admin_published_pwd, admin_console_group
2021-08-04 17:12:39 +00:00
2021-08-14 17:41:34 +00:00
# dnsmasq is installed here -- configure LATER in 'network', after Stage 9.
# (The full network stage runs after 9-LOCAL-ADDONS. Or manually run
2023-09-01 00:08:36 +00:00
# "sudo iiab-network"). Design under discussion: #2876
2021-08-14 17:41:34 +00:00
2019-08-13 20:11:30 +00:00
# Some prefer 512MB for Zero W, others prefer 2048MB or higher for RPi 3 and 4.
# Please see recommendations at: https://itsfoss.com/swap-size/
2019-08-13 20:17:25 +00:00
pi_swap_file_size : 1024
2019-08-13 20:11:30 +00:00
2018-10-15 14:25:56 +00:00
2017-10-27 09:31:32 +00:00
# 2-COMMON
2018-10-15 14:25:56 +00:00
# /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
2020-01-13 15:26:23 +00:00
2023-11-05 17:14:46 +00:00
# 2023-11-05: MySQL (actually MariaDB) had been mandatory, installed on every
# IIAB by 3-base-server. Now installed on demand -- as a dependency of Matomo,
2023-11-19 22:26:34 +00:00
# MediaWiki, Nextcloud, PBX (for FreePBX), WordPress &/or Admin Console.
# SO BOTH VALUES BELOW ARE INITIALLY IGNORED:
2023-11-05 17:14:46 +00:00
mysql_install : False
mysql_enabled : False
2022-12-22 05:22:56 +00:00
mysql_service : mariadb
2020-02-16 03:49:27 +00:00
2020-09-24 23:46:12 +00:00
# 2020-09-24: NGINX is MANDATORY but still evolving - please see:
# https://github.com/iiab/iiab/blob/master/roles/nginx/README.md
# THESE 2 LEGACY VARS ARE PRESERVED BUT HAVE NO EFFECT:
2019-10-15 23:47:49 +00:00
nginx_install : True
nginx_enabled : True
2020-01-13 15:55:35 +00:00
nginx_port : 80
nginx_interface : 0.0 .0 .0
2020-01-24 06:08:42 +00:00
nginx_conf_dir : /etc/nginx/conf.d
2020-01-13 15:55:35 +00:00
nginx_log_dir : /var/log/nginx
2025-01-14 00:43:02 +00:00
# SEE BELOW: nginx_high_php_limits, allow_www_data_poweroff
2017-10-27 09:31:32 +00:00
2021-08-14 17:02:55 +00:00
# roles/www_base runs here (mandatory)
2020-05-16 21:59:28 +00:00
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
2021-08-14 17:41:34 +00:00
# DNS prep (named &/or dhcpd) used to run here. See dnsmasq in 1-PREP above.
2018-10-15 14:25:56 +00:00
2021-08-16 16:44:14 +00:00
# Proxy Cache & basic site blocking using /etc/squid allowlists: (whitelists)
# e.g. /opt/iiab/iiab/roles/network/templates/squid/allow_dst_domains
# e.g. /opt/iiab/iiab/roles/network/templates/squid/allow_url_regexs
2021-08-15 11:59:35 +00:00
squid_install : False
2021-08-23 15:25:07 +00:00
squid_enabled: False # Enabling this ~= 'iiab_gateway_enabled : True ' (ABOVE)
2021-08-16 16:44:14 +00:00
gw_squid_whitelist : False # Works with HTTP sites, not HTTPS sites !
2021-08-15 15:53:37 +00:00
gw_block_https : False
2022-12-22 05:22:56 +00:00
proxy : squid # Admin Console uses
proxy_user : proxy # Could move to roles/network/defaults/main.yml
2018-10-15 14:25:56 +00:00
2021-07-27 01:30:42 +00:00
# UNMAINTAINED as of July 2021
2019-10-05 01:45:48 +00:00
# DansGuardian REQUIRES Squid (above) be installed & enabled.
# DansGuardian is NO LONGER AVAILABLE in Debian Buster i.e. since June 2019.
2021-08-14 20:18:12 +00:00
# dansguardian_install: False
# dansguardian_enabled: False
2017-05-27 18:09:50 +00:00
2021-08-14 19:45:43 +00:00
# Bluetooth PAN access to IIAB server - for Raspberry Pi - for 4-SERVER-OPTIONS
bluetooth_install : True
bluetooth_enabled : False
bluetooth_term_enabled : False
2021-08-14 17:02:55 +00:00
# USB_LIB
usb_lib_install : True
usb_lib_enabled : True
# Show entire contents of USB sticks/drives (at http://box/usb)
iiab_usb_lib_show_all : True
# Set umask=0000 for VFAT, NTFS and exFAT in /etc/usbmount/usbmount.conf so
# Kolibri can export & import channels to USB sticks/drive:
usb_lib_umask0000_for_kolibri : True
2022-12-22 05:22:56 +00:00
systemd_location : /lib/systemd/system # 2-common iiab-startup also uses
2021-08-14 17:02:55 +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
2019-03-05 19:05:01 +00:00
# Samba. Do a security audit seriously before deploying this.
2017-10-27 09:31:32 +00:00
samba_install : False
samba_enabled : False
2020-10-16 23:55:37 +00:00
samba_udp_ports : 137 : 138
samba_tcp_mports : 139 , 445
2019-03-05 19:07:36 +00:00
shared_dir : "{{ content_base }}/public" # /library/public
2022-12-22 05:22:56 +00:00
smb_service : smbd # Admin Console uses
nmb_service : nmbd # Could move to roles/samba/defaults/main.yml
2017-10-27 09:31:32 +00:00
2021-08-14 17:02:55 +00:00
# roles/www_options HANDLES THE 3 VARS BELOW:
2023-08-24 14:27:04 +00:00
# Set to True if intensively using Matomo/PBX/WordPress:
2021-08-14 17:02:55 +00:00
nginx_high_php_limits : False
2023-08-24 14:27:04 +00:00
# SIMILARLY: 'moodle_install: True' and 'nextcloud_install: True' effectively
# force this, via roles/www_options & roles/moodle & roles/nextcloud
# WARNING: This might cause excess use of RAM/disk or other resources!
# WARNING: AFTER INSTALLING IIAB, PLEASE VERIFY THESE 6 SETTINGS...
2022-12-30 09:09:46 +00:00
# https://github.com/iiab/iiab/blob/master/roles/www_options/tasks/php-settings.yml
2021-08-14 17:02:55 +00:00
# ...ARE SUITABLE FOR YOUR HARDWARE, as saved in: /etc/php/<VERSION>/*/php.ini
2022-03-25 00:07:59 +00:00
# ALSO: ADJUST "client_max_body_size 10000M;" AS NEC, IN: /etc/nginx/server.conf
2021-08-14 17:02:55 +00:00
2024-12-19 19:28:03 +00:00
# Make this True to enable http://box/js-menu/menu-files/services/power_off.php and set-server-time.php
2025-01-14 00:43:02 +00:00
allow_www_data_poweroff : False
2022-12-22 05:22:56 +00:00
apache_service : apache2
apache_user : www-data # Admin Console uses
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.
2020-01-23 13:24:36 +00:00
# UNMAINTAINED since about 2012-2017
2022-07-08 05:51:33 +00:00
#xo_services_install: False # 2020-01-23: UNUSED
#xo_services_enabled: False # 2020-01-23: Used in idmgr/tasks/main.yml & iiab-admin-console/roles/console/files/htmlf/20-configure.html
2017-10-11 03:46:33 +00:00
2020-01-23 13:24:36 +00:00
# UNMAINTAINED since about 2012-2017
2022-07-08 05:51:33 +00:00
#activity_server_install: False # 2020-01-23: Used in 5-xo-services/tasks/main.yml (originally defined in activity-server/defaults/main.yml)
#activity_server_enabled: False # 2020-01-23: Used in activity-server/tasks/main.yml (originally defined in activity-server/defaults/main.yml)
2017-10-11 03:46:33 +00:00
2020-01-23 13:24:36 +00:00
# UNMAINTAINED since about 2012-2017: consider 'ejabberd' in Stage 6-GENERIC-APPS below?
2022-07-08 05:51:33 +00:00
#ejabberd_xs_install: False # 2020-01-23: Used in 5-xo-services/tasks/main.yml & roles/ejabberd_xs/tasks/main.yml
#ejabberd_xs_enabled: False # 2020-01-23: Used in roles/ejabberd_xs/tasks/main.yml
2017-10-11 03:46:33 +00:00
2020-01-23 13:24:36 +00:00
# UNMAINTAINED since about 2012-2017: change calibre_port from 8080 to 8010 below, if you use idmgr
2022-07-08 05:51:33 +00:00
#idmgr_install: False # 2020-01-23: Used in 5-xo-services/tasks/main.yml
#idmgr_enabled: False # 2020-01-23: UNUSED
2017-10-11 03:46:33 +00:00
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
2021-08-14 13:52:54 +00:00
# Simple, Self-Hosted Web Radio - from AzuraCast.com
2019-06-13 18:27:16 +00:00
azuracast_install : False
2020-09-25 01:28:40 +00:00
azuracast_enabled : False # This var is currently IGNORED
2021-08-17 03:20:50 +00:00
azuracast_http_port : 12080
azuracast_https_port : 12443
2020-09-22 05:04:06 +00:00
#
2022-09-06 16:18:47 +00:00
# AzuraCast needs many ports in the 8000:8496 range by default, but IIAB
# services conflict, so this variable below sets a sane prefix.
2022-09-08 18:55:27 +00:00
# e.g. setting the below variable to 10 will result in port range 10000-10499
2019-06-23 10:26:52 +00:00
# being reserved for AzuraCast:
2019-06-19 06:42:54 +00:00
azuracast_port_range_prefix : 10
2020-01-21 16:54:33 +00:00
# UNMAINTAINED as of January 2020: https://github.com/iiab/iiab/issues/2056
2022-07-08 05:51:33 +00:00
#dokuwiki_install: False
#dokuwiki_enabled: False
#dokuwiki_url: /dokuwiki
2017-10-11 03:46:33 +00:00
2020-01-21 16:54:33 +00:00
# UNMAINTAINED as of November 2019
2022-07-08 05:51:33 +00:00
#ejabberd_install: False
#ejabberd_enabled: False
2019-03-08 06:48:18 +00:00
2021-07-26 23:52:47 +00:00
# UNMAINTAINED as of July 2021
2022-07-08 05:51:33 +00:00
#elgg_install: False
#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
2019-03-08 06:44:07 +00:00
# Gitea (lightweight self-hosted "GitHub") from https://gitea.io
2019-03-02 08:16:12 +00:00
gitea_install : False
gitea_enabled : False
2019-11-28 11:08:43 +00:00
gitea_url : /gitea
gitea_port : 61734
2017-05-27 18:09:50 +00:00
2021-04-15 18:14:14 +00:00
# JupyterHub programming environment with student Notebooks
jupyterhub_install : False
jupyterhub_enabled : False
2021-04-15 19:21:35 +00:00
jupyterhub_venv : /opt/iiab/jupyterhub
2021-04-15 18:14:14 +00:00
jupyterhub_port : 8000
2024-11-09 15:42:09 +00:00
# UNMAINTAINED: Lokole (email for rural communities) from https://ascoderu.ca
2023-01-04 14:04:51 +00:00
lokole_install: False # 2022-03-13 : Python 3.9+ work
lokole_enabled : False # https://github.com/iiab/iiab/issues/3132
2021-05-19 01:09:36 +00:00
# lokole_sim_type can be: 'hologram', 'Ethernet', 'LocalOnly', or 'mkwvconf'
# Details: https://github.com/ascoderu/lokole/blob/master/install.py#L35
lokole_sim_type : LocalOnly
2021-05-25 18:00:09 +00:00
lokole_client_id : None
2017-05-27 18:09:50 +00:00
2021-08-14 13:52:54 +00:00
# Wikipedia's community editing platform - from MediaWiki.org
2020-01-21 17:02:52 +00:00
mediawiki_install : False
mediawiki_enabled : False
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
2021-07-21 15:29:10 +00:00
# 2021-07-21: BOTH VALUES BELOW ARE INITIALLY IGNORED as Node.js is installed
# on demand as a dependency by 5 roles -- internetarchive (Internet Archive),
# JupyterHub, nodered (Node-RED), pbx (Asterix, FreePBX) &/or Sugarizer:
2020-09-22 02:21:41 +00:00
nodejs_install : False
2020-01-23 14:40:08 +00:00
nodejs_enabled : False
2024-05-03 12:50:27 +00:00
nodejs_version : 22. x # was 8.x til 2019-02-02, 10.x til 2019-12-21, 12.x til 2020-10-29, 14.x til 2021-06-17, 16.x til 2022-04-20, 18.x til 2023-05-20, 20.x til 2024-05-03
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
2019-09-04 19:17:03 +00:00
# Store your docs, calendar, contacts & photos on your local server not cloud!
2020-02-16 04:40:03 +00:00
# If using Nextcloud intensively, set nginx_high_php_limits further above.
2019-01-15 21:20:30 +00:00
nextcloud_install : False
nextcloud_enabled : False
2020-02-16 04:19:36 +00:00
#
2020-02-16 04:46:32 +00:00
# 2020-02-15: UNUSED at this time. Legacy remains from Apache:
2020-02-16 04:19:36 +00:00
# nextcloud_allow_public_ips: True
#
2019-09-05 01:40:03 +00:00
# Configuration tips for IPv4 access controls and tuning RAM/resources:
# https://github.com/iiab/iiab/blob/master/roles/nextcloud/README.md
2020-01-07 23:31:18 +00:00
#
2020-01-08 00:11:33 +00:00
# 2020-01-07: If installing IIAB often, download.nextcloud.com may throttle
2020-01-07 23:39:39 +00:00
# you to ~100 kbit/sec, delaying your IIAB install by an hour or more (#2112).
2020-01-08 00:11:33 +00:00
# Uncomment the following line to end that: (might install an older Nextcloud!)
2022-07-05 16:05:17 +00:00
# nextcloud_dl_url: https://d.iiab.io/packages/latest.tar.bz2
2019-01-15 21:20:30 +00:00
2020-02-16 04:40:03 +00:00
# If using WordPress intensively, set nginx_high_php_limits further above.
2019-01-15 21:20:30 +00:00
wordpress_install : False
wordpress_enabled : False
2019-02-03 17:56:23 +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
2024-07-22 01:36:39 +00:00
kalite_install : False
kalite_enabled : False
2018-07-12 05:36:38 +00:00
kalite_server_port : 8008
2019-03-05 18:23:59 +00:00
kalite_root : "{{ content_base }}/ka-lite" # /library/ka-lite
2017-05-27 18:09:50 +00:00
2021-08-14 13:52:54 +00:00
# Successor to KA Lite, for offline-first teaching and learning - from learningequality.org
2024-07-22 01:36:39 +00:00
kolibri_install : True
kolibri_enabled : True
2023-03-24 00:58:42 +00:00
kolibri_language : en # See KOLIBRI_SUPPORTED_LANGUAGES at the bottom of https://github.com/learningequality/kolibri/blob/develop/kolibri/utils/i18n.py
kolibri_home : "{{ content_base }}/kolibri" # /library/kolibri
kolibri_user: kolibri # WARNING : https://github.com/learningequality/kolibri-installer-debian/issues/115
2018-07-17 05:11:46 +00:00
kolibri_http_port : 8009
2018-07-16 16:09:52 +00:00
2019-07-08 18:18:57 +00:00
# kiwix_install: True is REQUIRED, if you install IIAB's Admin Console
2017-10-27 09:31:32 +00:00
kiwix_install : True
kiwix_enabled : True
kiwix_port : 3000
2019-03-05 18:23:59 +00:00
iiab_zim_path : "{{ content_base }}/zims" # /library/zims
2020-07-15 20:05:19 +00:00
kiwix_incl_apk : False
kiwix_apk_url : /software/kiwix
kiwix_apk_src : https://download.kiwix.org/release/kiwix-android/kiwix.apk
2017-10-27 09:31:32 +00:00
2020-09-25 01:28:40 +00:00
# 2020-09-24: BOTH VALUES BELOW ARE IGNORED as PostgreSQL is installed on
# demand as a dependency -- by Moodle &/or Pathagar
postgresql_install : False
postgresql_enabled : False
2023-05-15 21:53:44 +00:00
# Warning: Moodle is a serious LMS, that takes a while to install
2017-10-27 09:31:32 +00:00
moodle_install : False
moodle_enabled : False
2022-12-29 13:36:45 +00:00
# FYI 'nginx_high_php_limits: True' (explained above) is mandated with Moodle,
2022-12-30 09:09:46 +00:00
# as auto-enacted by roles/www_options/tasks/php-settings.yml
2017-10-27 09:31:32 +00:00
2020-09-25 01:28:40 +00:00
# Regional OSM vector maps use far less disk space than bitmap/raster versions.
# Instructions: https://github.com/iiab/iiab/wiki/IIAB-Maps
osm_vector_maps_install : True
osm_vector_maps_enabled : False
2020-10-08 00:50:01 +00:00
# Set to "True" to download .mbtiles files from Archive.org (might be slow!)
maps_from_internet_archive : False
2020-09-25 01:28:40 +00:00
vector_map_path : "{{ content_base }}/www/osm-vector-maps" # /library/www/osm-vector-maps
2020-01-23 14:40:08 +00:00
# MongoDB (/library/dbdata/mongodb) greatly enhances the Sugarizer experience.
2020-02-04 23:19:44 +00:00
# This role was formerly installed by roles/sugarizer/meta/main.yml
#
2020-09-25 01:28:40 +00:00
# 2020-09-24: BOTH VALUES BELOW ARE IGNORED as MongoDB is installed on demand
# as a dependency -- by Sugarizer
2020-09-22 02:16:15 +00:00
mongodb_install : False
2020-09-25 01:28:40 +00:00
# 'mongodb_enabled: False' MAY work when Sugarizer is disabled. Required by
2020-01-23 14:40:08 +00:00
# mongodb/tasks/enable.yml to shut down the service and log status, but that is
# misleading as Sugarizer starts mongodb's systemd service on its own, due to
# 'Requires=mongodb.service' within /etc/systemd/system/sugarizer.service
2019-01-31 06:26:32 +00:00
mongodb_enabled : False
2020-11-03 14:02:25 +00:00
mongodb_port : 27017
2019-01-31 06:26:32 +00:00
# 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
2020-09-22 05:04:06 +00:00
# 2020-09-22: Both vars WERE IGNORED on Deb 10 (MongoDB) but no longer? #1437
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
2024-01-01 00:29:24 +00:00
transmission_compile_latest : False
2020-01-18 06:34:37 +00:00
transmission_username : Admin
transmission_password : changeme
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
2021-03-08 04:17:58 +00:00
transmission_group : debian-transmission
2018-08-31 07:46:04 +00:00
# Monitor downloads at http://box:9091 or http://box:9091/transmission using Admin/changeme
transmission_http_port : 9091
2021-03-08 04:17:58 +00:00
transmission_url : /transmission/
2022-07-09 02:00:03 +00:00
transmission_whitelist : 127.0 .0 .1 , : : 1 , 192.168 .*.*,10.10.10,*,172.18.96.*,10.8.0.*
2021-03-14 21:46:14 +00:00
transmission_whitelist_enabled : "false" # LOWERCASE STRING for settings.json
2018-08-31 07:46:04 +00:00
transmission_peer_port : 51413
2022-07-05 16:05:17 +00:00
# Provision Transmission with torrent(s) from https://pantry.learningequality.org/downloads/ka-lite/0.17/content/
2018-08-31 07:46:04 +00:00
transmission_provision : True
transmission_kalite_version : 0.17
2019-03-05 19:18:35 +00:00
# A. UNCOMMENT LANGUAGE(S) IN /etc/iiab/local_vars.yml TO DOWNLOAD KA Lite VIDEOS TO /library/transmission
2018-08-31 07:46:04 +00:00
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
2021-08-14 13:52:54 +00:00
# AWStats, originally known as Advanced Web Statistics - from https://awstats.sourceforge.io
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
2022-06-15 06:40:28 +00:00
# Matomo is a web analytics alternative to Google Analytics, emphasizing privacy and data ownership.
matomo_install : True
matomo_enabled : True
2022-12-27 17:15:57 +00:00
# If using Matomo intensively, investigate nginx_high_php_limits further above.
2022-06-15 06:40:28 +00:00
2021-08-14 13:52:54 +00:00
# Process supervision tool - from https://mmonit.com/monit/
2020-09-22 05:53:19 +00:00
# 2020-09-22 WARNING: both vars are IGNORED on Debian 10 due to: iiab/iiab#1849
2018-08-30 21:15:43 +00:00
monit_install : False
monit_enabled : False
watchdog :
- sshd
2021-07-07 05:13:25 +00:00
#- idmgr
#- ejabberd
#- httpd
2018-08-30 21:15:43 +00:00
- postgresql
2021-08-08 13:48:26 +00:00
#- squid
2018-08-30 21:15:43 +00:00
2021-08-14 13:52:54 +00:00
# Networked resource monitoring/graphing tool - from munin-monitoring.org
2020-02-14 04:38:58 +00:00
munin_install : False
munin_enabled : False
2018-08-30 21:15:43 +00:00
2021-07-26 23:52:47 +00:00
# UNMAINTAINED as of July 2021
2018-08-30 21:15:43 +00:00
# Handy for maintaining tables, but DANGEROUS if not locked down
phpmyadmin_install : False
phpmyadmin_enabled : False
2021-08-14 13:52:54 +00:00
# Network traffic monitor - from https://humdi.net/vnstat/
2020-02-14 04:38:58 +00:00
vnstat_install : False
vnstat_enabled : False
2018-08-30 21:15:43 +00:00
# 9-LOCAL-ADDONS
2021-08-04 13:49:54 +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
# extensively later refined (PRs #1179, #1300, #1327, #2070).
captiveportal_install : True
captiveportal_enabled : False
captiveportal_port : 9090
captiveportal_splash_page : /
# You might also want to set iiab_home_url (above!)
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
2020-09-25 01:28:40 +00:00
# 2020-09-24: BOTH VALUES BELOW ARE IGNORED as Yarn is installed on demand as a
# dependency -- by Internet Archive
2020-09-24 13:06:33 +00:00
yarn_install : False
2020-02-04 23:19:44 +00:00
yarn_enabled : False
# Internet Archive Offline / Decentralized Web - create your own offline
# version (http://box:4244 or later http://box/archive?) arising from digital
# library https://dweb.archive.org
2019-10-07 00:16:31 +00:00
internetarchive_install : False
internetarchive_enabled : False
internetarchive_port : 4244 # for http://box:4244
# Minetest is an open source clone of the Minecraft building blocks game
minetest_install : False
minetest_enabled : False
minetest_port : 30000
2022-11-17 14:36:26 +00:00
minetest_working_dir : /usr/share/games/minetest
2019-10-07 00:16:31 +00:00
minetest_server_admin : Admin
2022-11-17 14:36:26 +00:00
# minetest_default_game: carbone-ng # carbone-ng is not longer compatible so not supported
minetest_default_game : minetest
# minetest_default_game: dreambuilder - after 5.6
2022-11-17 16:56:18 +00:00
minetest_game_dir : "{{ minetest_working_dir }}/games/{{ minetest_default_game }}_game"
2019-10-07 00:16:31 +00:00
minetest_flat_world : False
2021-08-04 13:49:54 +00:00
# Calibre-Web E-Book Library -- Alternative to Calibre, offers a clean/modern UX
2024-01-01 18:09:15 +00:00
calibreweb_install : True
calibreweb_enabled : True
2021-08-04 13:49:54 +00:00
calibreweb_port : 8083 # PORT VARIABLE HAS NO EFFECT (as of January 2019)
# http://box/books works. Add {box/libros, box/livres, box/livros, box/liv} etc?
calibreweb_url1 : /books # For SHORT URL http://box/books (English)
calibreweb_url2 : /libros # For SHORT URL http://box/libros (Spanish)
calibreweb_url3 : /livres # For SHORT URL http://box/livres (French)
calibreweb_home : "{{ content_base }}/calibre-web" # /library/calibre-web
# SUGGESTION: Calibre-Web can use Calibre's /usr/bin/ebook-convert program, so
# ALSO CONSIDER installing Calibre (below, if its graphical bloat is tolerable!)
# Calibre E-Book Library -- https://calibre-ebook.com
2018-08-30 21:15:43 +00:00
# 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
2019-03-05 18:58:16 +00:00
# http://box:8080 & http://box:8080/mobile WORK FOR NOW, but short/mnemonic
# URL's like http://box/calibre DON'T YET WORK -- BOOKS RARELY DISPLAY:
2020-02-02 18:50:01 +00:00
calibre_web_path: calibre #NEEDS WORK : https://github.com/iiab/iiab/issues/529
2019-07-14 14:54:27 +00:00
# Avoid URL collisions w/ calibreweb_url1, calibreweb_url2, calibreweb_url3 below!
2018-08-30 21:15:43 +00:00
2021-08-04 13:49:54 +00:00
# A full-featured PBX (for rural telephony, etc) based on Asterisk and FreePBX.
2022-05-26 00:06:06 +00:00
# INSTRUCTIONS: https://github.com/iiab/iiab/tree/master/roles/pbx#readme
2021-08-04 13:49:54 +00:00
# If using PBX intensively, investigate nginx_high_php_limits further above.
pbx_install : False
pbx_enabled : False
2023-04-03 14:34:46 +00:00
pbx_use_apache: False # 2023-04-03 : Set to 'True' if nec -- please also
2021-08-18 00:09:07 +00:00
pbx_use_nginx : True # read github.com/iiab/iiab/issues/2914 & #2916, THX!
2023-04-03 14:34:46 +00:00
# 2023-04-03: For EXPERIMENTAL testing on Raspberry Pi... (#3489, PR #3523)
2023-11-19 21:00:36 +00:00
asterisk_rpi_patch : False
2021-08-04 13:49:54 +00:00
asterisk_chan_dongle : False
pbx_signaling_ports_chan_sip : 5160 : 5161
pbx_signaling_ports_chan_pjsip : 5060
pbx_data_ports : 10000 : 20000
pbx_http_port : 83
2018-08-30 21:15:43 +00:00
2019-05-06 02:24:55 +00:00
2019-05-18 23:11:57 +00:00
# =============================================================================
# UNMAINTAINED LEGACY VARIABLES: YOU'RE TAKING BIG RISKS IF YOU USE ANY HERE...
2019-09-27 16:34:39 +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
2018-08-30 21:15:43 +00:00
# docker_install: False
# docker_enabled: False
2017-05-27 18:09:50 +00:00
2019-11-03 16:01:09 +00:00
# Unmaintained
# authserver_install: False
# authserver_enabled: False
2019-09-26 16:15:35 +00:00
2022-07-05 16:05:17 +00:00
# Unmaintained (better to install from https://teamviewer.com or prep scripts at https://download.iiab.io)
2019-09-26 16:15:35 +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
# 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
2020-10-16 23:55:37 +00:00
# xovis_root: /opt/xovis
# xovis_backup_dir: /library/users
2018-08-21 15:24:49 +00:00
# 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"
2019-05-18 23:11:57 +00:00
# =============================================================================
2017-06-04 21:22:12 +00:00
2018-08-21 15:24:49 +00:00
2020-01-17 17:19:36 +00:00
# OS-DEPENDENT VARS: TURN OFF ALL VARS BELOW AND THEN THE CORRECT
2022-12-22 03:17:23 +00:00
# /opt/iiab/iiab/vars/<OS_VER>.yml WILL TURN ON WHAT'S APPROPRIATE. See
# "How This Works" below, and https://github.com/iiab/iiab/wiki/IIAB-Platforms
2017-10-11 13:56:55 +00:00
2019-01-14 13:57:47 +00:00
# Wide to narrow (insofar as poss)
2020-09-02 01:28:19 +00:00
is_debuntu: False # Covers all 4 : Ubuntu, Linux Mint, Debian, Raspberry Pi OS (Raspbian)
2019-03-23 11:37:34 +00:00
2020-09-02 01:28:19 +00:00
is_ubuntu: False # Covers : Ubuntu, Linux Mint
2024-10-11 05:29:45 +00:00
is_ubuntu_2504 : False
2024-05-01 14:31:09 +00:00
is_ubuntu_2410 : False
2023-10-27 18:31:21 +00:00
is_ubuntu_2404 : False
2023-04-06 12:14:48 +00:00
is_ubuntu_2310 : False
2024-01-01 01:23:44 +00:00
#is_ubuntu_2304: False
#is_ubuntu_2210: False
2021-09-27 18:15:06 +00:00
is_ubuntu_2204 : False
2022-10-28 17:55:43 +00:00
#is_ubuntu_2110: False
#is_ubuntu_2104: False
2024-01-01 01:23:44 +00:00
#is_ubuntu_2004: False
2022-10-28 17:55:43 +00:00
#is_ubuntu_19: False
#is_ubuntu_18: False
#is_ubuntu_17: False
#is_ubuntu_16: False
2019-03-23 11:37:34 +00:00
2020-09-02 01:28:19 +00:00
is_linuxmint : False # Subset of is_ubuntu
2024-03-07 05:44:42 +00:00
is_linuxmint_22 : False
2024-10-11 05:29:45 +00:00
#is_linuxmint_21: False
2024-01-01 01:23:44 +00:00
#is_linuxmint_20: False
2020-09-01 10:13:20 +00:00
2020-09-02 01:28:19 +00:00
is_debian: False # Covers both : Debian, Raspberry Pi OS (Raspbian)
2023-06-11 11:59:09 +00:00
is_debian_13 : False
2021-07-31 12:58:10 +00:00
is_debian_12 : False
2024-01-01 01:23:44 +00:00
#is_debian_11: False
2022-10-28 17:55:43 +00:00
#is_debian_10: False
#is_debian_9: False
#is_debian_8: False
2019-03-23 11:37:34 +00:00
2020-09-02 01:28:19 +00:00
is_raspbian: False # Covers both : RPi HW + non-RPi HW versions of Raspberry Pi OS (Raspbian)
2024-06-25 18:34:33 +00:00
is_raspbian_13 : False
2023-04-04 22:11:39 +00:00
is_raspbian_12 : False
2024-01-01 01:23:44 +00:00
#is_raspbian_11: False
2022-10-28 17:55:43 +00:00
#is_raspbian_10: False
#is_raspbian_9: False
#is_raspbian_8: False
#is_redhat: False # Unsupported as of 2019, see: https://github.com/iiab/iiab/issues/1434
#is_centos: False
#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:
2020-01-17 17:19:36 +00:00
#
# 1. /opt/iiab/iiab/iiab-install copies /opt/iiab/iiab/scripts/local_facts.fact
# to /etc/ansible/facts.d/local_facts.fact
2018-08-30 23:03:39 +00:00
# 2. Ansible runs /etc/ansible/facts.d/local_facts.fact to identify the OS
2020-01-17 17:19:36 +00:00
# 3. The correct /opt/iiab/iiab/vars/<OS>.yml is then invoked by any the
# following high-level scripts in /opt/iiab/iiab for IIAB operators:
2020-09-02 18:32:20 +00:00
# ./iiab-install (uses iiab-stages.yml)
2020-01-17 17:19:36 +00:00
# ./iiab-network (uses iiab-network.yml)
# ./runrole (uses run-one-role.yml)
# 4. Likewise behind the scenes:
# ./iiab-configure (uses iiab-from-cmdline.yml)
# Admin Console (uses iiab-from-console.yml)
2020-10-30 01:40:36 +00:00
# 5. roles/0-init/tasks/main.yml reads from /etc/ansible/facts.d file(s)
# local_facts.facts (but not admin_facts.fact ?)
# 6. /etc/iiab/iiab.env is created by roles/1-prep/templates/iiab.env.j2
2020-01-17 17:19:36 +00:00
#
# More details, including Order of Execution and Precedence:
# https://github.com/iiab/iiab/wiki/IIAB-Variables