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

Merge pull request #2987 from holta/u22

Groundwork for testing on Ubuntu 22.04 & Linux Mint 21 pre-releases
This commit is contained in:
A Holt 2021-09-27 08:52:23 -04:00 committed by GitHub
commit 27401e7e32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 64 additions and 0 deletions

View file

@ -73,7 +73,9 @@ case $OS_VER in
"debian-12" | \
"ubuntu-20" | \
"ubuntu-21" | \
"ubuntu-22" | \
"linuxmint-20" | \
"linuxmint-21" | \
"raspbian-10" | \
"raspbian-11")
;;

View file

@ -713,6 +713,7 @@ pbx_http_port: 83
is_debuntu: False # Covers all 4: Ubuntu, Linux Mint, Debian, Raspberry Pi OS (Raspbian)
is_ubuntu: False # Covers: Ubuntu, Linux Mint
is_ubuntu_22: False
is_ubuntu_21: False
is_ubuntu_20: False
is_ubuntu_19: False
@ -721,6 +722,7 @@ is_ubuntu_17: False
is_ubuntu_16: False
is_linuxmint: False # Subset of is_ubuntu
is_linuxmint_21: False
is_linuxmint_20: False
is_debian: False # Covers both: Debian, Raspberry Pi OS (Raspbian)

31
vars/linuxmint-21.yml Normal file
View file

@ -0,0 +1,31 @@
# Every is_<OS> 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_22: True
is_linuxmint: True
is_linuxmint_21: True
# 2019-03-23: 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
apache_user: www-data
apache_conf_dir: apache2/sites-available
apache_log_dir: /var/log/apache2
smb_service: smbd
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: 8.1
postgresql_version: 14
systemd_location: /lib/systemd/system
python_ver: 3.10

29
vars/ubuntu-22.yml Normal file
View file

@ -0,0 +1,29 @@
# Every is_<OS> 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_22: True
# 2019-03-23: 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
apache_user: www-data
apache_conf_dir: apache2/sites-available
apache_log_dir: /var/log/apache2
smb_service: smbd
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: 8.1
postgresql_version: 14
systemd_location: /lib/systemd/system
python_ver: 3.10