mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #1227 from holta/iiab-admin-cleaner
Cleanup of all 3 local_vars.yml files & default_vars.yml
This commit is contained in:
		
						commit
						eff7356460
					
				
					 4 changed files with 75 additions and 37 deletions
				
			
		| 
						 | 
					@ -126,14 +126,6 @@ py_captive_portal_enabled: True
 | 
				
			||||||
# captive_portal_install: False
 | 
					# captive_portal_install: False
 | 
				
			||||||
# captive_portal_enabled: False
 | 
					# captive_portal_enabled: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Squid
 | 
					 | 
				
			||||||
squid_install: False
 | 
					 | 
				
			||||||
squid_enabled: False
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# DansGuardian
 | 
					 | 
				
			||||||
dansguardian_install: False
 | 
					 | 
				
			||||||
dansguardian_enabled: False
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Wonder Shaper
 | 
					# Wonder Shaper
 | 
				
			||||||
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
 | 
					# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
 | 
				
			||||||
wondershaper_install: False
 | 
					wondershaper_install: False
 | 
				
			||||||
| 
						 | 
					@ -147,8 +139,7 @@ wan_ip: dhcp
 | 
				
			||||||
wan_netmask:
 | 
					wan_netmask:
 | 
				
			||||||
wan_gateway:
 | 
					wan_gateway:
 | 
				
			||||||
wan_nameserver:
 | 
					wan_nameserver:
 | 
				
			||||||
# exFAT is auto-enabled for all "debuntu" OS's as of Nov 2017, in roles/2-common/tasks/packages.yml#L35-L36
 | 
					
 | 
				
			||||||
# exFAT_enabled: True
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Parameters for Aggregate Roles
 | 
					# Parameters for Aggregate Roles
 | 
				
			||||||
# Each Role should have the following variables which are either True or False:
 | 
					# Each Role should have the following variables which are either True or False:
 | 
				
			||||||
| 
						 | 
					@ -180,12 +171,20 @@ openvpn_server: xscenet.net
 | 
				
			||||||
openvpn_server_virtual_ip: 10.8.0.1
 | 
					openvpn_server_virtual_ip: 10.8.0.1
 | 
				
			||||||
openvpn_server_port: 1194
 | 
					openvpn_server_port: 1194
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 2-COMMON
 | 
					# 2-COMMON
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Auto-enabled in roles/2-common/tasks/packages.yml as set in
 | 
				
			||||||
 | 
					# 0-init/defaults/main.yml AND 0-init/tasks/main.yml :
 | 
				
			||||||
 | 
					exFAT_enabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# /usr/libexec/iiab-startup.sh is much like autoexec.bat & /etc/rc.local
 | 
				
			||||||
 | 
					# It's put in place by 2-common/tasks/iiab-startup.yml at the end of Stage 2.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 3-BASE-SERVER
 | 
					# 3-BASE-SERVER
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# roles/httpd (Apache configuration) runs here
 | 
					# httpd (Apache)
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Make this False to disable http://box/common/services/power_off.php button:
 | 
					# Make this False to disable http://box/common/services/power_off.php button:
 | 
				
			||||||
apache_allow_sudo: True
 | 
					apache_allow_sudo: True
 | 
				
			||||||
# For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147
 | 
					# For schools that use WordPress and/or Moodle intensively, see iiab/iiab #1147
 | 
				
			||||||
| 
						 | 
					@ -202,7 +201,16 @@ mysql_root_password: fixmysql
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 4-SERVER-OPTIONS
 | 
					# 4-SERVER-OPTIONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# roles/network runs here (MANY SETTINGS ABOVE)
 | 
					# dnsmasq, named, dhcpd basics are installed here...in preparation for
 | 
				
			||||||
 | 
					# the full roles/network = iiab-network that runs after 9-LOCAL-ADDONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Squid
 | 
				
			||||||
 | 
					squid_install: False
 | 
				
			||||||
 | 
					squid_enabled: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# DansGuardian
 | 
				
			||||||
 | 
					dansguardian_install: False
 | 
				
			||||||
 | 
					dansguardian_enabled: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Homepage
 | 
					# Homepage
 | 
				
			||||||
iiab_home_url: /home
 | 
					iiab_home_url: /home
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -62,13 +62,6 @@ py_captive_portal_install: True
 | 
				
			||||||
py_captive_portal_enabled: True
 | 
					py_captive_portal_enabled: True
 | 
				
			||||||
# In a pinch, disable it by running: systemctl disable py-captive-portal
 | 
					# In a pinch, disable it by running: systemctl disable py-captive-portal
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Stages 3 & 4 must be run (using iiab-install or runrole) if changing these:
 | 
					 | 
				
			||||||
squid_install: True
 | 
					 | 
				
			||||||
squid_enabled: True
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
dansguardian_install: True
 | 
					 | 
				
			||||||
dansguardian_enabled: True
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
 | 
					# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
 | 
				
			||||||
# wondershaper_install: False
 | 
					# wondershaper_install: False
 | 
				
			||||||
# wondershaper_enabled: False
 | 
					# wondershaper_enabled: False
 | 
				
			||||||
| 
						 | 
					@ -88,8 +81,16 @@ openvpn_handle: ""
 | 
				
			||||||
# The following seems necessary on CentOS:
 | 
					# The following seems necessary on CentOS:
 | 
				
			||||||
# openvpn_cron_enabled: True
 | 
					# openvpn_cron_enabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 2-COMMON
 | 
					# 2-COMMON
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# exFAT_enabled: True is auto-enabled in roles/2-common/tasks/packages.yml
 | 
				
			||||||
 | 
					# as set in 0-init/defaults/main.yml AND 0-init/tasks/main.yml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# /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.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 3-BASE-SERVER
 | 
					# 3-BASE-SERVER
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Make this False to disable http://box/common/services/power_off.php button:
 | 
					# Make this False to disable http://box/common/services/power_off.php button:
 | 
				
			||||||
| 
						 | 
					@ -104,7 +105,16 @@ apache_high_php_limits: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 4-SERVER-OPTIONS
 | 
					# 4-SERVER-OPTIONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# roles/network runs here (MANY SETTINGS ABOVE)
 | 
					# dnsmasq, named, dhcpd basics are installed here...in preparation for
 | 
				
			||||||
 | 
					# the full roles/network = iiab-network that runs after 9-LOCAL-ADDONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Squid
 | 
				
			||||||
 | 
					squid_install: True
 | 
				
			||||||
 | 
					squid_enabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# DansGuardian
 | 
				
			||||||
 | 
					dansguardian_install: True
 | 
				
			||||||
 | 
					dansguardian_enabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# PostgreSQL - auto-installed by Moodle and/or Pathagar - no need to touch!
 | 
					# PostgreSQL - auto-installed by Moodle and/or Pathagar - no need to touch!
 | 
				
			||||||
postgresql_install: False
 | 
					postgresql_install: False
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -62,13 +62,6 @@ py_captive_portal_install: True
 | 
				
			||||||
py_captive_portal_enabled: True
 | 
					py_captive_portal_enabled: True
 | 
				
			||||||
# In a pinch, disable it by running: systemctl disable py-captive-portal
 | 
					# In a pinch, disable it by running: systemctl disable py-captive-portal
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Stages 3 & 4 must be run (using iiab-install or runrole) if changing these:
 | 
					 | 
				
			||||||
squid_install: False
 | 
					 | 
				
			||||||
squid_enabled: False
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
dansguardian_install: False
 | 
					 | 
				
			||||||
dansguardian_enabled: False
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
 | 
					# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
 | 
				
			||||||
# wondershaper_install: False
 | 
					# wondershaper_install: False
 | 
				
			||||||
# wondershaper_enabled: False
 | 
					# wondershaper_enabled: False
 | 
				
			||||||
| 
						 | 
					@ -88,8 +81,16 @@ openvpn_handle: ""
 | 
				
			||||||
# The following seems necessary on CentOS:
 | 
					# The following seems necessary on CentOS:
 | 
				
			||||||
# openvpn_cron_enabled: True
 | 
					# openvpn_cron_enabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 2-COMMON
 | 
					# 2-COMMON
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# exFAT_enabled: True is auto-enabled in roles/2-common/tasks/packages.yml
 | 
				
			||||||
 | 
					# as set in 0-init/defaults/main.yml AND 0-init/tasks/main.yml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# /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.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 3-BASE-SERVER
 | 
					# 3-BASE-SERVER
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Make this False to disable http://box/common/services/power_off.php button:
 | 
					# Make this False to disable http://box/common/services/power_off.php button:
 | 
				
			||||||
| 
						 | 
					@ -104,7 +105,16 @@ apache_high_php_limits: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 4-SERVER-OPTIONS
 | 
					# 4-SERVER-OPTIONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# roles/network runs here (MANY SETTINGS ABOVE)
 | 
					# dnsmasq, named, dhcpd basics are installed here...in preparation for
 | 
				
			||||||
 | 
					# the full roles/network = iiab-network that runs after 9-LOCAL-ADDONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Squid
 | 
				
			||||||
 | 
					squid_install: False
 | 
				
			||||||
 | 
					squid_enabled: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# DansGuardian
 | 
				
			||||||
 | 
					dansguardian_install: False
 | 
				
			||||||
 | 
					dansguardian_enabled: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# PostgreSQL - auto-installed by Moodle and/or Pathagar - no need to touch!
 | 
					# PostgreSQL - auto-installed by Moodle and/or Pathagar - no need to touch!
 | 
				
			||||||
postgresql_install: False
 | 
					postgresql_install: False
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -62,13 +62,6 @@ py_captive_portal_install: True
 | 
				
			||||||
py_captive_portal_enabled: True
 | 
					py_captive_portal_enabled: True
 | 
				
			||||||
# In a pinch, disable it by running: systemctl disable py-captive-portal
 | 
					# In a pinch, disable it by running: systemctl disable py-captive-portal
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Stages 3 & 4 must be run (using iiab-install or runrole) if changing these:
 | 
					 | 
				
			||||||
squid_install: False
 | 
					 | 
				
			||||||
squid_enabled: False
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
dansguardian_install: False
 | 
					 | 
				
			||||||
dansguardian_enabled: False
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
 | 
					# Unmaintained as of October 2017: https://github.com/iiab/iiab/pull/382
 | 
				
			||||||
# wondershaper_install: False
 | 
					# wondershaper_install: False
 | 
				
			||||||
# wondershaper_enabled: False
 | 
					# wondershaper_enabled: False
 | 
				
			||||||
| 
						 | 
					@ -88,8 +81,16 @@ openvpn_handle: ""
 | 
				
			||||||
# The following seems necessary on CentOS:
 | 
					# The following seems necessary on CentOS:
 | 
				
			||||||
# openvpn_cron_enabled: True
 | 
					# openvpn_cron_enabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 2-COMMON
 | 
					# 2-COMMON
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# exFAT_enabled: True is auto-enabled in roles/2-common/tasks/packages.yml
 | 
				
			||||||
 | 
					# as set in 0-init/defaults/main.yml AND 0-init/tasks/main.yml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# /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.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 3-BASE-SERVER
 | 
					# 3-BASE-SERVER
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Make this False to disable http://box/common/services/power_off.php button:
 | 
					# Make this False to disable http://box/common/services/power_off.php button:
 | 
				
			||||||
| 
						 | 
					@ -104,7 +105,16 @@ apache_high_php_limits: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 4-SERVER-OPTIONS
 | 
					# 4-SERVER-OPTIONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# roles/network runs here (MANY SETTINGS ABOVE)
 | 
					# dnsmasq, named, dhcpd basics are installed here...in preparation for
 | 
				
			||||||
 | 
					# the full roles/network = iiab-network that runs after 9-LOCAL-ADDONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Squid
 | 
				
			||||||
 | 
					squid_install: False
 | 
				
			||||||
 | 
					squid_enabled: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# DansGuardian
 | 
				
			||||||
 | 
					dansguardian_install: False
 | 
				
			||||||
 | 
					dansguardian_enabled: False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# PostgreSQL - auto-installed by Moodle and/or Pathagar - no need to touch!
 | 
					# PostgreSQL - auto-installed by Moodle and/or Pathagar - no need to touch!
 | 
				
			||||||
postgresql_install: False
 | 
					postgresql_install: False
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue