1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge branch 'master' into gitea

This commit is contained in:
Aidan Fitzgerald 2019-03-02 03:28:09 -05:00 committed by GitHub
commit 96940be8b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
233 changed files with 6582 additions and 2784 deletions

View file

@ -1,7 +1,12 @@
is_centos: True
is_redhat: True
is_centos: True
is_centos_7: True
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: named
dns_user: named
proxy: squid
proxy_user: squid
apache_service: httpd
@ -14,6 +19,7 @@ systemctl_program: /usr/bin/systemctl
mysql_service: mariadb
dhcp_service: dhcpd
apache_log: /var/log/httpd/access_log
sshd_package: openssh-server
sshd_service: sshd
php_version: 7.0
postgresql_version: 9.5

View file

@ -1,9 +1,13 @@
is_debuntu: True
is_debian: True
is_debian_10: True
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: bind9
dhcp_service: isc-dhcp-server
dns_user: bind
proxy: squid
proxy_user: proxy
apache_service: apache2
@ -15,9 +19,10 @@ nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mariadb
apache_log: /var/log/apache2/access.log
sshd_package: openssh-server
sshd_service: ssh
php_version: 7.1
postgresql_version: 10
php_version: 7.3
postgresql_version: 11
systemd_location: /lib/systemd/system
# Upgrade OS's own Calibre to very latest:
calibre_via_debs: True

View file

@ -1,8 +1,12 @@
is_debuntu: True
is_debian: True
is_debian_8: True
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: bind9
dns_user: bind
proxy: squid3
proxy_user: proxy
apache_service: apache2
@ -14,6 +18,7 @@ nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mysql
apache_log: /var/log/apache2/access.log
sshd_package: openssh-server
sshd_service: ssh
php_version: 5
postgresql_version: 9.4

View file

@ -1,9 +1,13 @@
is_debuntu: True
is_debian: True
is_debian_9: True
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: bind9
dhcp_service: isc-dhcp-server
dns_user: bind
proxy: squid
proxy_user: proxy
apache_service: apache2
@ -13,8 +17,9 @@ apache_log_dir: /var/log/apache2
smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mysql
mysql_service: mariadb
apache_log: /var/log/apache2/access.log
sshd_package: openssh-server
sshd_service: ssh
php_version: 7.0
postgresql_version: 9.6

View file

@ -1,16 +1,13 @@
# WARNING: DO NOT MODIFY THIS FILE.
# CHANGES WILL BE LOST IF YOU DO A GIT PULL OR FETCH.
# Instead put changes in your own /etc/iiab/local_vars.yml
# PLZ READ http://wiki.laptop.org/go/IIAB/local_vars.yml AND http://FAQ.IIAB.IO
# 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
# By convention we use True/False to indicate boolean constants.
# By convention we use True/False to indicate boolean values.
# Configuration Files
iiab_local_vars_file: /etc/iiab/local_vars.yml
iiab_env_file: /etc/iiab/iiab.env
iiab_ini_file: /etc/iiab/iiab.ini
#iiab_config_file: "{{ iiab_ini_file }}" # Legacy support / let's phase this out eventually
#service_filelist: "{{ iiab_ini_file }}" # Legacy support / let's phase this out eventually
iiab_base: /opt/iiab
iiab_dir: "{{ iiab_base }}/iiab"
@ -63,6 +60,9 @@ iiab_domain: lan
lan_ip: 172.18.96.1
lan_netmask: 255.255.224.0
# Homepage: set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
iiab_home_url: /home
# Internal Wi-Fi Access Point
# Values are used if there is an internal Wi-Fi adapter and hostapd is enabled
# The platform variable adapts install to specific hardware (raspberry pi=rpi2)
@ -90,24 +90,28 @@ gui_wan: True
adm_cons_force_ssl: False
adm_cons_allow_downloads: False
# 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
# Gateway and Filters
# Most all implementations set "iiab_gateway_enabled: False" within
# Most all implementations use "iiab_gateway_enabled: False" within
# local_vars.yml as they cannot afford Internet access for students
# and teachers, and the many associated IT/support/training costs.
iiab_gateway_enabled: True
iiab_gateway_enabled: False
gw_squid_whitelist: False
gw_block_https: False
# dhcpd
dhcpd_install: True
dhcpd_install: False
dhcpd_enabled: False
# named
named_install: True
# named (BIND)
named_install: False
named_enabled: False
block_DNS: False
# dnsmasq
# dnsmasq - handles DHCP and DNS
dnsmasq_install: True
dnsmasq_enabled: True
@ -116,17 +120,16 @@ dns_jail_enabled: False
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
py_captive_portal_install: True
py_captive_portal_enabled: True
# In a pinch, disable it by running: systemctl disable py-captive-portal
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
captive_portal_install: False
captive_portal_enabled: False
captive_portal_port: 9090
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
# For @tim-moody's Nodogsplash approach to Captive Portal?
# Highly experimental as of June 2018: https://github.com/iiab/iiab/issues/608
# captive_portal_install: False
# captive_portal_enabled: False
# 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
# Wonder Shaper
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
wondershaper_install: False
wondershaper_enabled: False
@ -152,14 +155,12 @@ wan_nameserver:
# 1-PREP
# sshd
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
openvpn_install: True
openvpn_enabled: False
# For /etc/iiab/openvpn_handle
@ -184,11 +185,10 @@ exFAT_enabled: True
# 3-BASE-SERVER
# httpd (Apache)
# Make this False to disable http://box/common/services/power_off.php button:
apache_allow_sudo: True
# For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147
# WARNING: Enabling this (might) cause excess use of RAM or other resources?
# WARNING: Enabling this might cause excess use of RAM/disk or other resources!
apache_high_php_limits: False
# SEE ALSO VARIABLES NEAR TOP OF THIS FILE: default_language, language_priority
@ -204,37 +204,26 @@ mysql_root_password: fixmysql
# 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")
# Squid
squid_install: False
squid_enabled: False
# DansGuardian
# DansGuardian REQUIRES Squid (above) be installed & enabled
dansguardian_install: False
dansguardian_enabled: False
# Homepage
iiab_home_url: /home
# You can change iiab_home_url in /etc/iiab/local_vars.yml to get a different
# homepage. For example one of the following: (if its service is enabled!)
# iiab_home_url: /home
# iiab_home_url: /wordpress
# iiab_home_url: /wiki # for dokuwiki
# iiab_home_url: /mediawiki
# 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
postgresql_install: False
postgresql_enabled: False
# authserver
authserver_install: False
authserver_enabled: False
# Unmaintained
# authserver_install: False
# authserver_enabled: False
# Common UNIX Printing System (CUPS)
cups_install: True
cups_install: False
cups_enabled: False
cups_port: 631
# Samba. Take a security audit seriously before deploying this.
samba_install: False
@ -244,7 +233,7 @@ samba_enabled: False
usb_lib_install: True
usb_lib_enabled: True
# Show entire contents of USB sticks/drives (at http://box/usb)
iiab_usb_lib_show_all: False
iiab_usb_lib_show_all: True
# Toggle iiab-refresh-wiki-docs scraping for offline docs (http://box/info)
nodocs: False
@ -272,21 +261,17 @@ idmgr_enables: False
# 6-GENERIC-APPS
# DokuWiki
dokuwiki_install: False
dokuwiki_enabled: False
# MediaWiki
mediawiki_install: False
mediawiki_enabled: False
# Elgg
elgg_install: True
elgg_install: False
elgg_enabled: False
# elgg_mysql_password: $6$iiab51$jeTwnATcbaa92xo0QBTgjLBU.5aVDDrbKeNyyC99R/TAWz6pvfzj.L7lfnOVVjD78nxqT.gkNn6XZmuRV0W3o1
elgg_mysql_password: elgg4kids
# ejabberd
ejabberd_install: False
ejabberd_enabled: False
@ -294,14 +279,41 @@ ejabberd_enabled: False
gitea_install: False
gitea_enabled: False
# Lokole (email for rural communities) from https://ascoderu.ca
lokole_install: False
lokole_enabled: False
# MQTT pub-sub broker for IoT on Raspberry Pi etc
mosquitto_install: False
mosquitto_enabled: False
mosquitto_port: 1883
# Node.js version used by roles/nodejs/tasks/main.yml for 3 roles:
# nodered (Node-RED), pbx (Asterix, FreePBX) & sugarizer (Sugarizer)
nodejs_version: 10.x # was 8.x until 2019-02-02
# Flow-based visual programming for wiring together IoT hardware devices etc
nodered_install: False
nodered_enabled: False
nodered_port: 1880
nodered_web_path: nodered
# Nextcloud
nextcloud_install: True
nextcloud_install: False
nextcloud_enabled: False
# WordPress
wordpress_install: True
wordpress_enabled: False
# A full-featured PBX (for rural telephony, etc) based on Asterisk and FreePBX.
# Works on Ubuntu 18.04, Debian 9. Experimental on Rasp/RPi 3. Uses Node.js 10.x
pbx_install: False
pbx_enabled: False
asterisk_chan_dongle: False
pbx_signaling_ports_chan_sip: "5160:5161"
pbx_signaling_ports_chan_pjsip: "5060"
pbx_data_ports: "10000:20000"
# If using WordPress intensively, set apache_high_php_limits in 3-BASE-SERVER
wordpress_install: False
wordpress_enabled: False
# 7-EDU-APPS
@ -317,26 +329,30 @@ kalite_user: kalite
kalite_password_hash: $6$<salt>$KHET0XRRsgAY.wOWyTOI3W7dyDh0ESOr48uI5vtk2xdzsU7aw0TF4ZkNuM34RmHBGMJ1fTCmOyVobo0LOhBlJ/
kalite_password: kalite
# Kolibri
kolibri_install: False
kolibri_enabled: False
kolibri_http_port: 8009
# Kiwix
kiwix_install: True
kiwix_enabled: True
kiwix_port: 3000
iiab_zim_path: /library/zims
# Moodle
moodle_install: False
moodle_enabled: False
# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
# Sugarizer
# 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
# 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
sugarizer_install: True
sugarizer_install: False
sugarizer_enabled: False
sugarizer_port: 8089
@ -344,8 +360,8 @@ sugarizer_port: 8089
# 8-MGMT-TOOLS
# Transmission is a BitTorrent downloader for large Content Packs etc
transmission_install: True
transmission_enabled: True
transmission_install: False
transmission_enabled: False
# Transmission download directory & general owner/group
transmission_download_dir: "{{ content_base }}/transmission/" # /library/transmission/
@ -382,11 +398,9 @@ transmission_kalite_languages:
transmission_username: Admin
transmission_password: changeme
# AWStats - summarizes http access logs
awstats_install: True
awstats_enabled: False
awstats_enabled: True
# Monit
monit_install: False
monit_enabled: False
watchdog:
@ -397,17 +411,15 @@ watchdog:
- postgresql
- squid
# Munin
munin_install: True
munin_enabled: False
munin_enabled: True
# Handy for maintaining tables, but DANGEROUS if not locked down
phpmyadmin_install: False
phpmyadmin_enabled: False
# vnStat
vnstat_install: True
vnstat_enabled: False
vnstat_enabled: True
# 9-LOCAL-ADDONS
@ -432,53 +444,61 @@ calibre_web_path: calibre #NEEDS WORK: https://github.com/iiab/iiab/issues/529
# program, so we recommend you also install Calibre (above!)
# Calibre-Web alternative to Calibre, offers a clean/modern UX
calibreweb_install: True
calibreweb_enabled: True
calibreweb_port: 8083
calibreweb_install: False
calibreweb_enabled: False
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_url: /books
calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web
# Minetest is an open source clone of the Minecraft building blocks game
minetest_install: False
minetest_enabled: False
minetest_port: 30000
minetest_server_admin: Admin
minetest_default_game: carbone-ng # only carbone-ng and minetest are supported
minetest_flat_world: False
# PLEASE CONSIDER THESE 2 NEW OPENSTREETMAP APPROACHES INSTEAD, AS OF 2018:
# CONSIDER THESE 2 NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD, AS OF 2018:
# - http://download.iiab.io/content/OSM/vector-tiles/
# - http://oer2go.org/viewmod/en-worldmap-10
#
# DOWNLOAD EITHER OSM MANUALLY, OR BETTER YET TRY IIAB'S ADMIN CONSOLE:
# http://box/admin -> Install Content -> Get OER2GO(RACHEL) Modules
#
# OpenStreetMap (OSM) legacy - unmaintained:
# Unmaintained:
# osm_install: False
# osm_enabled: False
# Changed in June 2017, from the original:
# iiab_install: True
# iiab_enabled: False
# TeamViewer - unmaintained (better to install from http://teamviewer.com or prep scripts at http://download.iiab.io)
# Unmaintained (better to install from http://teamviewer.com or prep scripts at http://download.iiab.io)
# teamviewer_install: False
# teamviewer_enabled: False
# Docker - unmaintained
# Unmaintained
# docker_install: False
# docker_enabled: False
# SchoolTool - unmaintained
# Unmaintained
# schooltool_install: False
# schooltool_enabled: False
# Debian SchoolTool - nnmaintained
# Unmaintained
# debian_schooltool_install: False
# debian_schooltool_enabled: False
# Pathagar - unmaintained (consider Calibre or Calibre-Web above?)
# Unmaintained (consider Calibre or Calibre-Web above?)
# pathagar_install: False
# pathagar_enabled: False
# sugar-stats - unmaintained
# Unmaintained
# sugar_stats_install: False
# sugar_stats_enabled: False
# XOVis - unmaintained
# Unmaintained
# xovis_install: False
# xovis_enabled: False
# xovis_target_host: "127.0.0.1:5984"
@ -486,20 +506,19 @@ calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web
# 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"
# ownCloud - unmaintained
# Unmaintained
# owncloud_install: False
# owncloud_enabled: False
# Ajenti - unmaintained
# Unmaintained
# ajenti_install: False
# ajenti_enabled: False
# RACHEL - no longer in use
# Unmaintained
# rachel_install: False
# rachel_enabled: False
# rachel_content_found: False
@ -510,20 +529,26 @@ calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web
# Platforms - turn all off and let /opt/iiab/iiab/vars/<OS>.yml turn on as appropriate
# Wide to narrow
# Wide to narrow (insofar as poss)
is_debuntu: False
is_ubuntu: False
is_ubuntu_18: False
is_ubuntu_17: False
is_ubuntu_16: False
is_debian: False
is_debian_10: False
is_debian_9: False
is_debian_8: False
is_raspbian_9: False
is_raspbian_8: False
is_rpi: False
is_redhat: False
is_fedora: False
is_centos: False
is_centos_7: False
is_fedora: False
is_fedora_22: False
is_fedora_18: False
# How This Works:
# 1. /opt/iiab/iiab/iiab-install copies scripts/local_facts.fact to /etc/ansible/facts.d/local_facts.fact

View file

@ -1,6 +1,12 @@
is_redhat: True
is_fedora: True
is_fedora_18: True
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: named
dns_user: named
proxy: squid
proxy_user: squid
apache_service: httpd
@ -10,10 +16,11 @@ apache_log_dir: /var/log/httpd
smb_service: smb
nmb_service: nmb
systemctl_program: /usr/bin/systemctl
mysql_service: mariadb
mysql_service: mysqld
apache_log: /var/log/httpd/access_log
apache_log_dir: /var/log/httpd
php_version: 5
sshd_package: openssh-server
sshd_service: sshd
nextcloud_install: False
nextcloud_enabled: False

View file

@ -1,6 +1,12 @@
is_redhat: True
is_fedora: True
is_fedora_22: True
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: named
dns_user: named
proxy: squid
proxy_user: squid
apache_service: httpd
@ -12,6 +18,7 @@ nmb_service: nmb
systemctl_program: /usr/bin/systemctl
mysql_service: mariadb
apache_log: /var/log/httpd/access_log
sshd_package: openssh-server
sshd_service: sshd
systemd_location: /usr/lib/systemd/system
# Upgrade OS's own Calibre to very latest:

View file

@ -29,7 +29,7 @@ iiab_admin_pwd_hash: $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGm
iiab_hostname: box
iiab_domain: lan
# Set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
# Homepage: set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
iiab_home_url: /home
# Raspbian requires WiFi country since March 2018. Please set it here:
@ -48,7 +48,14 @@ services_externally_visible: True
# Make this True if client machines should have access to WAN/Internet:
iiab_gateway_enabled: False
# dnsmasq
dhcpd_install: False
dhcpd_enabled: False
# named (BIND)
named_install: False
named_enabled: False
# dnsmasq - handles DHCP and DNS
dnsmasq_install: True
dnsmasq_enabled: True
@ -57,10 +64,14 @@ dns_jail_enabled: False
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
py_captive_portal_install: True
py_captive_portal_enabled: True
# In a pinch, disable it by running: systemctl disable py-captive-portal
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
captive_portal_install: True
captive_portal_enabled: True
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
# 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
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
# wondershaper_install: False
@ -96,7 +107,7 @@ openvpn_handle: ""
# Make this False to disable http://box/common/services/power_off.php button:
apache_allow_sudo: True
# For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147
# WARNING: Enabling this (might) cause excess use of RAM or other resources?
# WARNING: Enabling this might cause excess use of RAM/disk or other resources!
apache_high_php_limits: False
# SEE ALSO VARIABLES NEAR TOP OF THIS FILE: default_language, language_priority
@ -108,13 +119,12 @@ apache_high_php_limits: False
# 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")
# Squid
squid_install: True
squid_enabled: True
squid_install: False
squid_enabled: False
# DansGuardian
dansguardian_install: True
dansguardian_enabled: True
# DansGuardian REQUIRES Squid (above) be installed & enabled
dansguardian_install: False
dansguardian_enabled: False
# PostgreSQL - auto-installed by Moodle and/or Pathagar - no need to touch!
postgresql_install: False
@ -167,15 +177,33 @@ mediawiki_enabled: True
elgg_install: True
elgg_enabled: True
ejabberd_install: True
ejabberd_install: False
ejabberd_enabled: False
gitea_install: True
gitea_enabled: True
# Lokole (email for rural communities) from https://ascoderu.ca
lokole_install: True
lokole_enabled: True
# MQTT pub-sub broker for IoT on Raspberry Pi etc
mosquitto_install: True
mosquitto_enabled: True
# Flow-based visual programming for wiring together IoT hardware devices etc
nodered_install: True
nodered_enabled: True
nextcloud_install: True
nextcloud_enabled: True
# A full-featured PBX (for rural telephony, etc) based on Asterisk and FreePBX.
# Works on Ubuntu 18.04, Debian 9. Experimental on Rasp/RPi 3. Uses Node.js 10.x
pbx_install: False
pbx_enabled: False
asterisk_chan_dongle: False
# If using WordPress intensively, set apache_high_php_limits in 3-BASE-SERVER
wordpress_install: True
wordpress_enabled: True
@ -265,20 +293,24 @@ calibre_web_path: calibre #NEEDS WORK: https://github.com/iiab/iiab/issues/529
# Calibre-Web alternative to Calibre, offers a clean/modern UX
calibreweb_install: True
calibreweb_enabled: True
calibreweb_port: 8083
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_url: /books
calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web
# Minetest is an open source clone of the Minecraft building blocks game
minetest_install: True
minetest_enabled: True
# PLEASE CONSIDER THESE 2 NEW OPENSTREETMAP APPROACHES INSTEAD, AS OF 2018:
# CONSIDER THESE 2 NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD, AS OF 2018:
# - http://download.iiab.io/content/OSM/vector-tiles/
# - http://oer2go.org/viewmod/en-worldmap-10
#
# DOWNLOAD EITHER OSM MANUALLY, OR BETTER YET TRY IIAB'S ADMIN CONSOLE:
# http://box/admin -> Install Content -> Get OER2GO(RACHEL) Modules
#
# Unmaintained - OpenStreetMap (OSM) legacy
# Unmaintained
# osm_install: False
# osm_enabled: False

View file

@ -29,7 +29,7 @@ iiab_admin_pwd_hash: $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGm
iiab_hostname: box
iiab_domain: lan
# Set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
# Homepage: set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
iiab_home_url: /home
# Raspbian requires WiFi country since March 2018. Please set it here:
@ -48,7 +48,14 @@ services_externally_visible: True
# Make this True if client machines should have access to WAN/Internet:
iiab_gateway_enabled: False
# dnsmasq
dhcpd_install: False
dhcpd_enabled: False
# named (BIND)
named_install: False
named_enabled: False
# dnsmasq - handles DHCP and DNS
dnsmasq_install: True
dnsmasq_enabled: True
@ -57,10 +64,14 @@ dns_jail_enabled: False
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
py_captive_portal_install: True
py_captive_portal_enabled: True
# In a pinch, disable it by running: systemctl disable py-captive-portal
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
captive_portal_install: True
captive_portal_enabled: True
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
# 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
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
# wondershaper_install: False
@ -96,7 +107,7 @@ openvpn_handle: ""
# Make this False to disable http://box/common/services/power_off.php button:
apache_allow_sudo: True
# For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147
# WARNING: Enabling this (might) cause excess use of RAM or other resources?
# WARNING: Enabling this might cause excess use of RAM/disk or other resources!
apache_high_php_limits: False
# SEE ALSO VARIABLES NEAR TOP OF THIS FILE: default_language, language_priority
@ -108,11 +119,10 @@ apache_high_php_limits: False
# 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")
# Squid
squid_install: False
squid_enabled: False
# DansGuardian
# DansGuardian REQUIRES Squid (above) be installed & enabled
dansguardian_install: False
dansguardian_enabled: False
@ -125,7 +135,7 @@ postgresql_enabled: False
# authserver_enabled: False
# Common UNIX Printing System (CUPS)
cups_install: True
cups_install: False
cups_enabled: False
# At Your Own Risk: take a security audit seriously before deploying this
@ -173,9 +183,27 @@ ejabberd_enabled: False
gitea_install: True
gitea_enabled: False
# Lokole (email for rural communities) from https://ascoderu.ca
lokole_install: False
lokole_enabled: False
# MQTT pub-sub broker for IoT on Raspberry Pi etc
mosquitto_install: False
mosquitto_enabled: False
# Flow-based visual programming for wiring together IoT hardware devices etc
nodered_install: False
nodered_enabled: False
nextcloud_install: True
nextcloud_enabled: True
# A full-featured PBX (for rural telephony, etc) based on Asterisk and FreePBX.
# Works on Ubuntu 18.04, Debian 9. Experimental on Rasp/RPi 3. Uses Node.js 10.x
pbx_install: False
pbx_enabled: False
asterisk_chan_dongle: False
# If using WordPress intensively, set apache_high_php_limits in 3-BASE-SERVER
wordpress_install: True
wordpress_enabled: True
@ -265,20 +293,24 @@ calibre_web_path: calibre #NEEDS WORK: https://github.com/iiab/iiab/issues/529
# Calibre-Web alternative to Calibre, offers a clean/modern UX
calibreweb_install: True
calibreweb_enabled: True
calibreweb_port: 8083
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_url: /books
calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web
# Minetest is an open source clone of the Minecraft building blocks game
minetest_install: False
minetest_enabled: False
# PLEASE CONSIDER THESE 2 NEW OPENSTREETMAP APPROACHES INSTEAD, AS OF 2018:
# CONSIDER THESE 2 NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD, AS OF 2018:
# - http://download.iiab.io/content/OSM/vector-tiles/
# - http://oer2go.org/viewmod/en-worldmap-10
#
# DOWNLOAD EITHER OSM MANUALLY, OR BETTER YET TRY IIAB'S ADMIN CONSOLE:
# http://box/admin -> Install Content -> Get OER2GO(RACHEL) Modules
#
# Unmaintained - OpenStreetMap (OSM) legacy
# Unmaintained
# osm_install: False
# osm_enabled: False

View file

@ -29,7 +29,7 @@ iiab_admin_pwd_hash: $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGm
iiab_hostname: box
iiab_domain: lan
# Set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
# Homepage: set to /home or /wordpress or /mediawiki or /wiki (for DokuWiki)
iiab_home_url: /home
# Raspbian requires Wi-Fi country since March 2018. Please set it here:
@ -48,7 +48,14 @@ services_externally_visible: True
# Make this True if client machines should have access to WAN/Internet:
iiab_gateway_enabled: False
# dnsmasq
dhcpd_install: False
dhcpd_enabled: False
# named (BIND)
named_install: False
named_enabled: False
# dnsmasq - handles DHCP and DNS
dnsmasq_install: True
dnsmasq_enabled: True
@ -57,10 +64,14 @@ dns_jail_enabled: False
# Python-based Captive Portal, that @m-anish & @jvonau experimented with in
# July 2018 (https://github.com/iiab/iiab/pull/870) and that @georgejhunt
# extensively refined in Sept 2018 (https://github.com/iiab/iiab/pull/1179)
py_captive_portal_install: True
py_captive_portal_enabled: True
# In a pinch, disable it by running: systemctl disable py-captive-portal
# extensively refined later in 2018 (PRs #1179, #1300, #1327).
captive_portal_install: False
captive_portal_enabled: False
# In a pinch, disable Captive Portal using instructions in http://FAQ.IIAB.IO
# 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
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
# wondershaper_install: False
@ -96,7 +107,7 @@ openvpn_handle: ""
# Make this False to disable http://box/common/services/power_off.php button:
apache_allow_sudo: True
# For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147
# WARNING: Enabling this (might) cause excess use of RAM or other resources?
# WARNING: Enabling this might cause excess use of RAM/disk or other resources!
apache_high_php_limits: False
# SEE ALSO VARIABLES NEAR TOP OF THIS FILE: default_language, language_priority
@ -108,11 +119,10 @@ apache_high_php_limits: False
# 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")
# Squid
squid_install: False
squid_enabled: False
# DansGuardian
# DansGuardian REQUIRES Squid (above) be installed & enabled
dansguardian_install: False
dansguardian_enabled: False
@ -173,9 +183,27 @@ ejabberd_enabled: False
gitea_install: False
gitea_enabled: False
# Lokole (email for rural communities) from https://ascoderu.ca
lokole_install: False
lokole_enabled: False
# MQTT pub-sub broker for IoT on Raspberry Pi etc
mosquitto_install: False
mosquitto_enabled: False
# Flow-based visual programming for wiring together IoT hardware devices etc
nodered_install: False
nodered_enabled: False
nextcloud_install: False
nextcloud_enabled: False
# A full-featured PBX (for rural telephony, etc) based on Asterisk and FreePBX.
# Works on Ubuntu 18.04, Debian 9. Experimental on Rasp/RPi 3. Uses Node.js 10.x
pbx_install: False
pbx_enabled: False
asterisk_chan_dongle: False
# If using WordPress intensively, set apache_high_php_limits in 3-BASE-SERVER
wordpress_install: False
wordpress_enabled: False
@ -265,20 +293,24 @@ calibre_web_path: calibre #NEEDS WORK: https://github.com/iiab/iiab/issues/529
# Calibre-Web alternative to Calibre, offers a clean/modern UX
calibreweb_install: False
calibreweb_enabled: False
calibreweb_port: 8083
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_url: /books
calibreweb_home: "{{ content_base }}/calibre-web" # /library/calibre-web
# Minetest is an open source clone of the Minecraft building blocks game
minetest_install: False
minetest_enabled: False
# PLEASE CONSIDER THESE 2 NEW OPENSTREETMAP APPROACHES INSTEAD, AS OF 2018:
# CONSIDER THESE 2 NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD, AS OF 2018:
# - http://download.iiab.io/content/OSM/vector-tiles/
# - http://oer2go.org/viewmod/en-worldmap-10
#
# DOWNLOAD EITHER OSM MANUALLY, OR BETTER YET TRY IIAB'S ADMIN CONSOLE:
# http://box/admin -> Install Content -> Get OER2GO(RACHEL) Modules
#
# Unmaintained - OpenStreetMap (OSM) legacy
# Unmaintained
# osm_install: False
# osm_enabled: False

View file

@ -1,10 +1,15 @@
is_rpi: True
is_debian: True
is_debuntu: True
is_debian: True
is_debian_8: True
is_raspbian_8: True
is_rpi: True
rtc_id: ds3231
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: bind9
dns_user: bind
proxy: squid3
proxy_user: proxy
apache_service: apache2
@ -16,6 +21,7 @@ nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mysql
apache_log: /var/log/apache2/access.log
sshd_package: ssh
sshd_service: ssh
php_version: 5
postgresql_version: 9.4

View file

@ -1,11 +1,16 @@
is_rpi: True
is_debian: True
is_debuntu: True
is_debian: True
is_debian_9: True
is_raspbian_9: True
is_rpi: True
rtc_id: ds3231
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: bind9
dns_user: bind
dhcp_service: isc-dhcp-server
proxy: squid
proxy_user: proxy
apache_service: apache2
@ -15,8 +20,9 @@ apache_log_dir: /var/log/apache2
smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mysql
mysql_service: mariadb
apache_log: /var/log/apache2/access.log
sshd_package: ssh
sshd_service: ssh
php_version: 7.0
postgresql_version: 9.6
@ -26,3 +32,10 @@ systemd_location: /lib/systemd/system
calibre_via_debs: True
# roles/calibre/tasks/py-installer.yml FAILS on ARM as of 2018-05-10:
calibre_via_python: False
# minetest for rpi
minetest_server_bin: /library/games/minetest/bin/minetestserver
minetest_working_dir: /library/games/minetest
minetest_game_dir: /library/games/minetest/games/minetest_game
minetest_rpi_src_url: http://www.nathansalapat.com/downloads/0.4.17.1.tar.gz
minetest_rpi_src: minetest-0.4.17.1.tar.gz

View file

@ -1,9 +1,13 @@
is_debuntu: True
is_ubuntu: True
is_ubuntu_16: True
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: bind9
dns_user: bind
dhcp_service: isc-dhcp-server
proxy: squid
proxy_user: proxy
apache_service: apache2
@ -15,6 +19,7 @@ nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mysql
apache_log: /var/log/apache2/access.log
sshd_package: openssh-server
sshd_service: ssh
php_version: 7.0
postgresql_version: 9.5

View file

@ -1,8 +1,13 @@
is_debuntu: True
is_ubuntu: True
is_ubuntu_17: True
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: bind9
dns_user: bind
dhcp_service: isc-dhcp-server
proxy: squid
proxy_user: proxy
apache_service: apache2
@ -15,6 +20,7 @@ systemctl_program: /bin/systemctl
# issue raised
mysql_service: mysql
apache_log: /var/log/apache2/access.log
sshd_package: openssh-server
sshd_service: ssh
php_version: 7.1
postgresql_version: 9.6

View file

@ -1,9 +1,13 @@
is_debuntu: True
is_ubuntu: True
is_ubuntu_18: True
# 2019-01-31: These apply if-only-if named_install and/or dhcpd_install are True
# (This is quite rare now that vars/default_vars.yml sets dnsmasq_install: True)
dns_service: bind9
dns_user: bind
dhcp_service: isc-dhcp-server
proxy: squid
proxy_user: proxy
apache_service: apache2
@ -14,8 +18,9 @@ smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
# issue raised
mysql_service: mysql
mysql_service: mariadb
apache_log: /var/log/apache2/access.log
sshd_package: openssh-server
sshd_service: ssh
php_version: 7.2
# "postgresql_version: 10.3" fails (too detailed for /etc/systemd/system/postgresql-iiab.service on Ubuntu 18.04)