1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

Merge pull request #3440 from holta/versions_less_brittle

Put vars/<OS-VER>.yml files on a diet, moving stale vars to default_vars.yml or roles/X/defaults
This commit is contained in:
A Holt 2022-12-22 01:10:55 -05:00 committed by GitHub
commit 87ef9b7f23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 103 additions and 105 deletions

View file

@ -57,5 +57,6 @@ kiwix_url: /kiwix
kiwix_url_plus_slash: "{{ kiwix_url }}/" # /kiwix/
kiwix_path: "{{ iiab_base }}/kiwix" # /opt/iiab/kiwix
systemctl_program: /bin/systemctl
kiwix_nginx_timeout: 600
kiwix_threads: 4

View file

@ -0,0 +1,10 @@
# sshd_install: True # Required by OpenVPN
# sshd_enabled: True
# sshd_port: 22 # Not fully functional. SEE: roles/sshd/tasks/install.yml
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
sshd_package: openssh-server
sshd_service: ssh

View file

@ -1,23 +1,20 @@
# Every is_<OS> var is initially set to 'False' at the bottom of
# Every is_<OS_VER> var is initially set to 'False' at the bottom of
# /opt/iiab/iiab/vars/default_vars.yml -- these 'True' lines override that:
is_debuntu: True
is_debian: True # Opposite of is_ubuntu for now
is_debian_11: True
proxy: squid
proxy_user: proxy
apache_service: apache2
apache_user: www-data
apache_conf_dir: apache2/sites-available
apache_log_dir: /var/log/apache2
apache_log: /var/log/apache2/access.log
smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mariadb
sshd_package: openssh-server
sshd_service: ssh
systemd_location: /lib/systemd/system
# proxy: squid
# proxy_user: proxy
# apache_service: apache2
# apache_user: www-data
# smb_service: smbd
# nmb_service: nmbd
# systemctl_program: /bin/systemctl
# mysql_service: mariadb
# sshd_package: openssh-server
# sshd_service: ssh
# systemd_location: /lib/systemd/system
# php_version: "7.4"
# postgresql_version: 13
# python_version: "3.9"

View file

@ -1,23 +1,20 @@
# Every is_<OS> var is initially set to 'False' at the bottom of
# Every is_<OS_VER> var is initially set to 'False' at the bottom of
# /opt/iiab/iiab/vars/default_vars.yml -- these 'True' lines override that:
is_debuntu: True
is_debian: True # Opposite of is_ubuntu for now
is_debian_12: True
proxy: squid
proxy_user: proxy
apache_service: apache2
apache_user: www-data
apache_conf_dir: apache2/sites-available
apache_log_dir: /var/log/apache2
apache_log: /var/log/apache2/access.log
smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mariadb
sshd_package: openssh-server
sshd_service: ssh
systemd_location: /lib/systemd/system
# proxy: squid
# proxy_user: proxy
# apache_service: apache2
# apache_user: www-data
# smb_service: smbd
# nmb_service: nmbd
# systemctl_program: /bin/systemctl
# mysql_service: mariadb
# sshd_package: openssh-server
# sshd_service: ssh
# systemd_location: /lib/systemd/system
# php_version: "8.1"
# postgresql_version: 15
# python_version: "3.10"

View file

@ -272,6 +272,7 @@ pi_swap_file_size: 1024
# THESE 2 LEGACY VARS ARE PRESERVED BUT HAVE NO EFFECT:
mysql_install: True
mysql_enabled: True
mysql_service: mariadb
# 2020-09-24: NGINX is MANDATORY but still evolving - please see:
# https://github.com/iiab/iiab/blob/master/roles/nginx/README.md
@ -300,6 +301,8 @@ squid_install: False
squid_enabled: False # Enabling this ~= 'iiab_gateway_enabled: True' (ABOVE)
gw_squid_whitelist: False # Works with HTTP sites, not HTTPS sites !
gw_block_https: False
proxy: squid # Admin Console uses
proxy_user: proxy # Could move to roles/network/defaults/main.yml
# UNMAINTAINED as of July 2021
# DansGuardian REQUIRES Squid (above) be installed & enabled.
@ -320,6 +323,7 @@ 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
systemd_location: /lib/systemd/system # 2-common iiab-startup also uses
# Common UNIX Printing System (CUPS)
cups_install: False
@ -332,6 +336,8 @@ samba_enabled: False
samba_udp_ports: 137:138
samba_tcp_mports: 139,445
shared_dir : "{{ content_base }}/public" # /library/public
smb_service: smbd # Admin Console uses
nmb_service: nmbd # Could move to roles/samba/defaults/main.yml
# roles/www_options HANDLES THE 3 VARS BELOW:
@ -346,6 +352,8 @@ nginx_high_php_limits: False
# Make this True to enable http://box/js-menu/menu-files/services/power_off.php
apache_allow_sudo: False
apache_service: apache2
apache_user: www-data # Admin Console uses
# Toggle iiab-refresh-wiki-docs scraping for offline docs (http://box/info)
nodocs: False

View file

@ -1,4 +1,4 @@
# Every is_<OS> var is initially set to 'False' at the bottom of
# Every is_<OS_VER> var is initially set to 'False' at the bottom of
# /opt/iiab/iiab/vars/default_vars.yml -- these 'True' lines override that:
is_debuntu: True
is_ubuntu: True # Opposite of is_debian for now
@ -6,20 +6,17 @@ is_ubuntu_2204: True
is_linuxmint: True
is_linuxmint_21: True
proxy: squid
proxy_user: proxy
apache_service: apache2
apache_user: www-data
apache_conf_dir: apache2/sites-available
apache_log_dir: /var/log/apache2
apache_log: /var/log/apache2/access.log
smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mariadb
sshd_package: openssh-server
sshd_service: ssh
systemd_location: /lib/systemd/system
# proxy: squid
# proxy_user: proxy
# apache_service: apache2
# apache_user: www-data
# smb_service: smbd
# nmb_service: nmbd
# systemctl_program: /bin/systemctl
# mysql_service: mariadb
# sshd_package: openssh-server
# sshd_service: ssh
# systemd_location: /lib/systemd/system
# php_version: "8.1"
# postgresql_version: 14
# python_version: "3.10"

View file

@ -1,4 +1,4 @@
# Every is_<OS> var is initially set to 'False' at the bottom of
# Every is_<OS_VER> var is initially set to 'False' at the bottom of
# /opt/iiab/iiab/vars/default_vars.yml -- these 'True' lines override that:
is_debuntu: True
is_debian: True # Opposite of is_ubuntu for now
@ -6,20 +6,17 @@ is_debian_11: True
is_raspbian: True
is_raspbian_11: True
proxy: squid
proxy_user: proxy
apache_service: apache2
apache_user: www-data
apache_conf_dir: apache2/sites-available
apache_log_dir: /var/log/apache2
apache_log: /var/log/apache2/access.log
smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mariadb
sshd_package: ssh
sshd_service: ssh
systemd_location: /lib/systemd/system
# proxy: squid
# proxy_user: proxy
# apache_service: apache2
# apache_user: www-data
# smb_service: smbd
# nmb_service: nmbd
# systemctl_program: /bin/systemctl
# mysql_service: mariadb
# sshd_package: ssh
# sshd_service: ssh
# systemd_location: /lib/systemd/system
# php_version: "7.4"
# postgresql_version: 13
# python_version: "3.9"

View file

@ -1,23 +1,20 @@
# Every is_<OS> var is initially set to 'False' at the bottom of
# Every is_<OS_VER> var is initially set to 'False' at the bottom of
# /opt/iiab/iiab/vars/default_vars.yml -- these 'True' lines override that:
is_debuntu: True
is_ubuntu: True # Opposite of is_debian for now
is_ubuntu_2204: True
proxy: squid
proxy_user: proxy
apache_service: apache2
apache_user: www-data
apache_conf_dir: apache2/sites-available
apache_log_dir: /var/log/apache2
apache_log: /var/log/apache2/access.log
smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mariadb
sshd_package: openssh-server
sshd_service: ssh
systemd_location: /lib/systemd/system
# proxy: squid
# proxy_user: proxy
# apache_service: apache2
# apache_user: www-data
# smb_service: smbd
# nmb_service: nmbd
# systemctl_program: /bin/systemctl
# mysql_service: mariadb
# sshd_package: openssh-server
# sshd_service: ssh
# systemd_location: /lib/systemd/system
# php_version: "8.1"
# postgresql_version: 14
# python_version: "3.10"

View file

@ -1,23 +1,20 @@
# Every is_<OS> var is initially set to 'False' at the bottom of
# Every is_<OS_VER> var is initially set to 'False' at the bottom of
# /opt/iiab/iiab/vars/default_vars.yml -- these 'True' lines override that:
is_debuntu: True
is_ubuntu: True # Opposite of is_debian for now
is_ubuntu_2210: True
proxy: squid
proxy_user: proxy
apache_service: apache2
apache_user: www-data
apache_conf_dir: apache2/sites-available
apache_log_dir: /var/log/apache2
apache_log: /var/log/apache2/access.log
smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mariadb
sshd_package: openssh-server
sshd_service: ssh
systemd_location: /lib/systemd/system
# proxy: squid
# proxy_user: proxy
# apache_service: apache2
# apache_user: www-data
# smb_service: smbd
# nmb_service: nmbd
# systemctl_program: /bin/systemctl
# mysql_service: mariadb
# sshd_package: openssh-server
# sshd_service: ssh
# systemd_location: /lib/systemd/system
# php_version: "8.1"
# postgresql_version: 14
# python_version: "3.10"

View file

@ -1,23 +1,20 @@
# Every is_<OS> var is initially set to 'False' at the bottom of
# Every is_<OS_VER> var is initially set to 'False' at the bottom of
# /opt/iiab/iiab/vars/default_vars.yml -- these 'True' lines override that:
is_debuntu: True
is_ubuntu: True # Opposite of is_debian for now
is_ubuntu_2304: True
proxy: squid
proxy_user: proxy
apache_service: apache2
apache_user: www-data
apache_conf_dir: apache2/sites-available
apache_log_dir: /var/log/apache2
apache_log: /var/log/apache2/access.log
smb_service: smbd
nmb_service: nmbd
systemctl_program: /bin/systemctl
mysql_service: mariadb
sshd_package: openssh-server
sshd_service: ssh
systemd_location: /lib/systemd/system
# proxy: squid
# proxy_user: proxy
# apache_service: apache2
# apache_user: www-data
# smb_service: smbd
# nmb_service: nmbd
# systemctl_program: /bin/systemctl
# mysql_service: mariadb
# sshd_package: openssh-server
# sshd_service: ssh
# systemd_location: /lib/systemd/system
# php_version: "8.1"
# postgresql_version: 14
# python_version: "3.10"