From 5d7eb59b5bc0ecf9c409e8831afcd6e2d46f6273 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 3 Oct 2020 16:24:03 -0400 Subject: [PATCH 1/6] Update default_vars.yml --- vars/default_vars.yml | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 7cec5d377..555d83a2b 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -68,8 +68,18 @@ iiab_admin_pwd_hash: $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGm # Time Zone (php needs timezone to be set) local_tz: "{{ ansible_date_time.tz }}" -# Read https://github.com/iiab/iiab/wiki/IIAB-Networking -# Also readable offline @ http://box/info/IIAB-Networking.html +# IIAB Admin Console is sometimes not needed, e.g. on Raspberry Pi Zero W +admin_console_install: True +admin_console_enabled: True +# +# 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 + + +# 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" # NETWORK PARAMETERS FOLLOW ACROSS THE NEXT 100 LINES, as enabled by Ansible's # NETWORK role (/opt/iiab/iiab/roles/network/*) in 4-SERVER-OPTIONS below. @@ -168,10 +178,6 @@ bluetooth_install: True bluetooth_enabled: False bluetooth_term_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 # SEE BELOW: admin_console_install & _enabled. - # UNMAINTAINED as of October 2017: https://github.com/iiab/iiab/pull/382 wondershaper_install: False wondershaper_enabled: False @@ -195,14 +201,6 @@ 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 -# Parameters for Aggregate Roles -# Each Role should have the following variables which are either True or False: -# _install -# _enabled - -# Past convention had been to install everything in all aggregate roles (stages) -# And to enable everything in 1-PREP, 2-COMMON, and 3-BASE-SERVER - # 1-PREP @@ -239,10 +237,6 @@ pi_swap_file_size: 1024 # 3-BASE-SERVER -# 2020-05-22: Neither in use at the moment. See also js_menu_install (above). -admin_console_install: True -admin_console_enabled: True - # 2020-09-24: MySQL / MariaDB is MANDATORY but still evolving - please see: # https://github.com/iiab/iiab/blob/master/roles/mysql/tasks/install.yml # https://github.com/iiab/iiab/blob/master/roles/3-base-server/tasks/main.yml From b26abcc9bea550e06688e5145b9122894fb7c21a Mon Sep 17 00:00:00 2001 From: A Holt Date: Sat, 3 Oct 2020 16:24:15 -0400 Subject: [PATCH 2/6] Update local_vars_min.yml --- vars/local_vars_min.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/vars/local_vars_min.yml b/vars/local_vars_min.yml index ed247bdec..3388672e7 100644 --- a/vars/local_vars_min.yml +++ b/vars/local_vars_min.yml @@ -36,6 +36,19 @@ iiab_admin_pwd_hash: $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGm # Obtain a password hash - OLD WAY: # python -c 'import crypt; print crypt.crypt("", "$6$<salt>")' +# IIAB Admin Console is sometimes not needed, e.g. on Raspberry Pi Zero W +admin_console_install: True +admin_console_enabled: True +# +# 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 + + +# 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" + iiab_hostname: box iiab_domain: lan @@ -119,10 +132,6 @@ bluetooth_install: True bluetooth_enabled: False bluetooth_term_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 - # UNMAINTAINED as of October 2017: https://github.com/iiab/iiab/pull/382 # wondershaper_install: False # wondershaper_enabled: False From 4c9c328efec4c75e631fa088da54cbf7df70006c Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Sat, 3 Oct 2020 16:24:21 -0400 Subject: [PATCH 3/6] Update local_vars_medium.yml --- vars/local_vars_medium.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/vars/local_vars_medium.yml b/vars/local_vars_medium.yml index 104732d8d..58d905b70 100644 --- a/vars/local_vars_medium.yml +++ b/vars/local_vars_medium.yml @@ -36,6 +36,19 @@ iiab_admin_pwd_hash: $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGm # Obtain a password hash - OLD WAY: # python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")' +# IIAB Admin Console is sometimes not needed, e.g. on Raspberry Pi Zero W +admin_console_install: True +admin_console_enabled: True +# +# 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 + + +# 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" + iiab_hostname: box iiab_domain: lan @@ -119,10 +132,6 @@ bluetooth_install: True bluetooth_enabled: False bluetooth_term_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 - # UNMAINTAINED as of October 2017: https://github.com/iiab/iiab/pull/382 # wondershaper_install: False # wondershaper_enabled: False From eedb11a17ff97f0b29207e39cf9d7318cea4cae1 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Sat, 3 Oct 2020 16:24:27 -0400 Subject: [PATCH 4/6] Update local_vars_big.yml --- vars/local_vars_big.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/vars/local_vars_big.yml b/vars/local_vars_big.yml index 019a82c3b..2ecb40316 100644 --- a/vars/local_vars_big.yml +++ b/vars/local_vars_big.yml @@ -36,6 +36,19 @@ iiab_admin_pwd_hash: $6$xsce51$D.IrrEeLBYIuJkGDmi27pZUGOwPFp98qpl3hxMwWV4hXigFGm # Obtain a password hash - OLD WAY: # python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")' +# IIAB Admin Console is sometimes not needed, e.g. on Raspberry Pi Zero W +admin_console_install: True +admin_console_enabled: True +# +# 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 + + +# 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" + iiab_hostname: box iiab_domain: lan @@ -119,10 +132,6 @@ bluetooth_install: True bluetooth_enabled: False bluetooth_term_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 - # UNMAINTAINED as of October 2017: https://github.com/iiab/iiab/pull/382 # wondershaper_install: False # wondershaper_enabled: False From f73736702d986adebed74643a2f30de1d1ca6ff9 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Sat, 3 Oct 2020 16:25:38 -0400 Subject: [PATCH 5/6] Update validate_vars.yml --- roles/0-init/tasks/validate_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/0-init/tasks/validate_vars.yml b/roles/0-init/tasks/validate_vars.yml index dac8ea944..636f64abf 100644 --- a/roles/0-init/tasks/validate_vars.yml +++ b/roles/0-init/tasks/validate_vars.yml @@ -63,7 +63,7 @@ #- wondershaper # Unmaintained - sshd - openvpn - - admin_console # Coming soon + - admin_console #- nginx # MANDATORY #- apache # Dependency installed on demand by other apps/svcs #- mysql # MANDATORY From 1244ec4727739b630cba554f4fabf61d7db45ef8 Mon Sep 17 00:00:00 2001 From: A Holt <holta@users.noreply.github.com> Date: Sat, 3 Oct 2020 17:43:51 -0400 Subject: [PATCH 6/6] network role clarifs in default_vars.yml --- vars/default_vars.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 555d83a2b..7e4c501c3 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -82,11 +82,11 @@ js_menu_install: True # Read it offline too: http://box/info > "IIAB Networking" # NETWORK PARAMETERS FOLLOW ACROSS THE NEXT 100 LINES, as enabled by Ansible's -# NETWORK role (/opt/iiab/iiab/roles/network/*) in 4-SERVER-OPTIONS below. -# SEE ALSO: /opt/iiab/iiab/roles/network/defaults/main.yml +# NETWORK role (/opt/iiab/iiab/roles/network). SEE ALSO: +# https://github.com/iiab/iiab/blob/master/roles/network/defaults/main.yml -# The following variable may be useful in debugging -disregard_network: False # use cache or error out if cache does not exist +# The following variable may be useful in debugging: +disregard_network: False # Use cache, or error out if cache does not exist. iiab_hostname: box iiab_domain: lan